wp_timezone


wp_timezone ( No parameters )

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

Description

Retrieves the timezone of the site as a `DateTimeZone` object.Timezone can be based on a PHP timezone string or a ±HH:MM offset.

Related Functions

wp_timezone_choice, wp_timezone_string, wp_getimagesize, wp_timezone_supported, wp_filesize

Top Google Results

User discussions

wpseek mobile