WC_Admin_Report::enable_big_selects()
Enables big mysql selects for reports, just once for this session.
{} It's a method of the class: WC_Admin_Report{}
No Hooks.
Return
null
. Nothing.
Usage
$result = WC_Admin_Report::enable_big_selects();
Code of WC_Admin_Report::enable_big_selects() WC Admin Report::enable big selects WC 6.7.0
protected static function enable_big_selects() { static $big_selects = false; global $wpdb; if ( ! $big_selects ) { $wpdb->query( 'SET SESSION SQL_BIG_SELECTS=1' ); $big_selects = true; } }