woocommerce_rest_prepare_report_products_count

woocommerce_rest_prepare_report_products_count

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_rest_prepare_report_products_count') is found 1 times:

  • /includes/rest-api/Controllers/Version3/class-wc-rest-report-products-totals-controller.php line 96
    		 * @param WP_REST_Response $response The response object.
    		 * @param object           $report   The original report object.
    		 * @param WP_REST_Request  $request  Request used to generate the response.
    		 */
    		return apply_filters( 'woocommerce_rest_prepare_report_products_count', $response, $report, $request );
    	}
    
    	/**
    	 * Get the Report's schema, conforming to JSON Schema.
    	 *
    	 * @return array