llms_get_country_states( string $code )

Retrieve a list of states for a given country.

Parameters Parameters


(string) (Required) Country code.

Top ↑

Return Return


Top ↑

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();

Top ↑

Changelog Changelog

Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.