woocommerce_reports_get_order_report_query

woocommerce_reports_get_order_report_query

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_reports_get_order_report_query') is found 1 times:

  • /includes/admin/reports/class-wc-admin-report.php line 350
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    if ( $limit ) {
        $query['limit'] = "LIMIT {$limit}";
    }
     
    $query = apply_filters( 'woocommerce_reports_get_order_report_query', $query );
    $query = implode( ' ', $query );
     
    if ( $debug ) {
        echo '<pre>';
        wc_print_r( $query );
        echo '</pre>';