woocommerce_rest_prepare_reports_import

woocommerce_rest_prepare_reports_import

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_rest_prepare_reports_import') is found 1 times:

  • /src/Admin/API/Reports/Import/Controller.php line 171
    		 * @param WP_REST_Response $response The response object.
    		 * @param array            $item     The original item.
    		 * @param WP_REST_Request  $request  Request used to generate the response.
    		 */
    		return apply_filters( 'woocommerce_rest_prepare_reports_import', $response, $item, $request );
    	}
    
    	/**
    	 * Get the query params for collections.
    	 *
    	 * @return array