Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php

WC_REST_Data_Countries_Controller::get_items()

Method: Return the list of states for all countries.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php:114

Used by 0 functions | Uses 3 functions

WC_REST_Data_Countries_Controller::get_item()

Method: Return the list of states for a given country.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php:134

Used by 0 functions | Uses 2 functions

WC_REST_Data_Countries_Controller::prepare_item_for_response()

Method: Prepare the data object for response.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php:150

Used by 2 functions | Uses 2 functions

woocommerce_rest_prepare_data_country

Filter Hook: Filter the states list for a country returned from the API.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php:166

Used by 1 function | Uses 0 functions

WC_REST_Data_Countries_Controller::prepare_links()

Method: Prepare links for the request.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php:175

Used by 1 function | Uses 0 functions

WC_REST_Data_Countries_Controller::get_item_schema()

Method: Get the location schema, conforming to JSON Schema.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php:196

Used by 0 functions | Uses 0 functions

WC_REST_Data_Countries_Controller::get_country()

Method: Get a list of countries and states.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php:80

Used by 2 functions | Uses 1 function

WC_REST_Data_Countries_Controller

Class: REST API Data countries controller class.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php:19

Used by 1 function | Uses 1 function

WC_REST_Data_Countries_Controller::register_routes()

Method: Register routes.

Source: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php:40

Used by 0 functions | Uses 0 functions
Proudly powered by WordPress