woocommerce_reports_get_order_report_data_args

woocommerce_reports_get_order_report_data_args

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_data_args') is found 1 times:

  • /includes/admin/reports/class-wc-admin-report.php line 113
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
        'order_types'         => wc_get_order_types( 'reports' ),
        'order_status'        => array( OrderStatus::COMPLETED, OrderStatus::PROCESSING, OrderStatus::ON_HOLD ),
        'parent_order_status' => false,
    );
    $args         = apply_filters( 'woocommerce_reports_get_order_report_data_args', $args );
    $args         = wp_parse_args( $args, $default_args );
     
    // phpcs:ignore WordPress.PHP.DontExtract.extract_extract
    extract( $args );
     
    if ( empty( $data ) ) {