wp_timezone_string


wp_timezone_string ( No parameters )

Returns:
  • (string) PHP timezone name or a ±HH:MM offset.
Defined at:

Description

Retrieves the timezone of the site as a string.Uses the `timezone_string` option to get a proper timezone name if available, otherwise falls back to a manual UTC ± offset. Example return values: - 'Europe/Rome' - 'America/North_Dakota/New_Salem' - 'UTC' - '-06:30' - '+00:00' - '+08:45'

Related Functions

wp_timezone, wp_timezone_supported, wp_timezone_choice, wp_installing, image_hwstring

Top Google Results

User discussions

wpseek mobile