WordPress at Your Fingertips
filter is not described

woocommerce_rest_prepare_reports_import filter-hook . WC 1.0

Filter the list returned from the API.


add_filter( 'woocommerce_rest_prepare_reports_import', 'filter_function_name_5125', 10, 3 );
function filter_function_name_5125( $response, $item, $request ){
	// filter...

	return $response;
The response object.
The original item.
Request used to generate the response.

Where the hook is called

woocommerce/packages/woocommerce-admin/src/API/Reports/Import/Controller.php 176
return apply_filters( 'woocommerce_rest_prepare_reports_import', $response, $item, $request );

Where in WP core the hook is used WooCommerce

Usage not found.