wp_timezone


wp_timezone ( No parameters )

Returns:
  • (DateTimeZone) Timezone object.
Defined at:

Description

Retrieves the timezone from site settings as a `DateTimeZone` object.

Timezone can be based on a PHP timezone string or a ±HH:MM offset.

Related Functions

wp_timezone_string, wp_timezone_choice, wp_timezone_supported, wp_tiny_mce, wp_title

Top Google Results

User discussions

wpseek mobile