Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
WC_REST_Setting_Options_Controller::get_countries_and_states()
Returns a list of countries and states for use in the base location setting.
Description Description
Return Return
(array) Array of states and countries.
Source Source
File: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
Changelog Changelog
Version | Description |
---|---|
3.0.7 | Introduced. |