woocommerce_rest_prepare_report

woocommerce_rest_prepare_report

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_rest_prepare_report') is found 2 times:

  • /includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php line 142
    		 * @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', $response, $report, $request );
    	}
    
    	/**
    	 * Get the Report's schema, conforming to JSON Schema.
    	 *
    	 * @return array
    
  • /src/Admin/API/Reports/Controller.php line 180
    		 * @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', $response, $report, $request );
    	}
    
    	/**
    	 * Get the Report's schema, conforming to JSON Schema.
    	 *
    	 * @override WP_REST_Controller::get_item_schema()