apply_filters( 'woocommerce_rest_prepare_data_continent', WP_REST_Response $response , array $item , WP_REST_Request $request )
Filter the location list returned from the API.
Description Description
Allows modification of the loction data right before it is returned.
Parameters Parameters
- $response
-
The response object.
- $item
-
The original list of continent(s), countries, and states.
- $request
-
Request used to generate the response.
Source Source
File: includes/rest-api/Controllers/Version3/class-wc-rest-data-continents-controller.php