woocommerce_rest_prepare_report_stock

woocommerce_rest_prepare_report_stock

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_rest_prepare_report_stock') is found 1 times:

  • /src/Admin/API/Reports/Stock/Controller.php line 313
    		 * @param WP_REST_Response $response The response object.
    		 * @param WC_Product       $product   The original product object.
    		 * @param WP_REST_Request  $request  Request used to generate the response.
    		 */
    		return apply_filters( 'woocommerce_rest_prepare_report_stock', $response, $product, $request );
    	}
    
    	/**
    	 * Prepare links for the request.
    	 *
    	 * @param  WC_Product $product Object data.