WC_REST_Data_Continents_Controller
REST API Data continents controller class.
Description Description
Source Source
File: includes/rest-api/Controllers/Version3/class-wc-rest-data-continents-controller.php
Methods Methods
- get_continent — Return the list of countries and states for a given continent.
- get_item — Return the list of locations for a given continent.
- get_item_schema — Get the location schema, conforming to JSON Schema.
- get_items — Return the list of states for all continents.
- prepare_item_for_response — Prepare the data object for response.
- prepare_links — Prepare links for the request.
- register_routes — Register routes.