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.3.3

apply_filters('woocommerce_reports_get_order_report_data_args') is found 1 times:

  • /includes/admin/reports/class-wc-admin-report.php line 112
    			'order_types'         => wc_get_order_types( 'reports' ),
    			'order_status'        => array( 'completed', 'processing', '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 ) ) {