Tribe__View_Helpers::loadStates()

Get the i18ned states available to the plugin.

Contents


Return

(array) The states array.


Top ↑

Source

File: src/Tribe/View_Helpers.php

		public static function loadStates() {
			$states = tribe( 'languages.locations' )->get_us_states();

			/**
			 * Enables filtering the list of states in the USA available to venues.
			 *
			 * @since 4.5.12
			 *
			 * @param array $states The list of states.
			 */
			return apply_filters( 'tribe_get_state_options', $states );
		}