llms_get_country_states( string $code )
Retrieve a list of states for a given country.
Parameters Parameters
- $code
-
(string) (Required) Country code.
Return Return
(array)
Source Source
File: includes/functions/llms-functions-locale.php
function llms_get_country_states( $code ) { $all = llms_get_states(); return isset( $all[ $code ] ) ? $all[ $code ] : array(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |