apply_filters( 'woocommerce_rest_prepare_shipping_method', WP_REST_Response $response, WC_Shipping_Method $method, WP_REST_Request $request )

Filter shipping methods object returned from the REST API.


Description Description


Parameters Parameters

$response

The response object.

$method

Shipping method object used to create response.

$request

Request object.


Top ↑

Source Source

File: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php



Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.