Created
December 9, 2014 06:43
-
-
Save rayflores/2a72aff1e170b66566c2 to your computer and use it in GitHub Desktop.
admin args csv exporter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function rf_wc_csv_add_query_args( $query_args) { | |
| $query_args = array( | |
| 'orderby' => 'date_query', | |
| 'order' => 'ASC', | |
| ); | |
| return $query_args; | |
| } | |
| add_filter( 'wc_customer_order_csv_export_admin_query_args', 'rf_wc_csv_add_query_args', 10,2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment