woocommerce_rest_prepare_report_top_sellers

woocommerce_rest_prepare_report_top_sellers

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_rest_prepare_report_top_sellers') is found 1 times:

  • /includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php line 137
    		 * @param WP_REST_Response $response   The response object.
    		 * @param stdClass         $top_seller The original report object.
    		 * @param WP_REST_Request  $request    Request used to generate the response.
    		 */
    		return apply_filters( 'woocommerce_rest_prepare_report_top_sellers', $response, $top_seller, $request );
    	}
    
    	/**
    	 * Get the Report's schema, conforming to JSON Schema.
    	 *
    	 * @return array