Created
June 24, 2015 15:21
-
-
Save woogist/379b3e5dd7a3bb36195d to your computer and use it in GitHub Desktop.
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
add_filter( 'woocommerce_reports_get_order_report_query', 'wc_custom_limit_query' ); | |
function wc_custom_limit_query( $query ) { | |
global $wpdb; | |
$wpdb->query( "SET OPTION SQL_BIG_SELECTS=1" ); | |
return $query; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment