wp_timezone_choice
wp_timezone_choice ( $selected_zone, $locale = null )
Parameters:- (string) selected_zone Selected timezone.
- (string) locale Optional. Locale to load the timezones in. Default current site locale.
Returns:Defined at:Change Log: - Introduced in WordPress: 2.9.0
- Deprecated in WordPress: —
Description
Gives a nicely-formatted list of timezone strings.