WPDev.one
Core Function
View Source on Trac ↗

wp_timezone()

wp_timezone( )

Retrieves the timezone of the site as a `DateTimeZone` object.

Return Value

(DateTimeZone)
Timezone object.

Function Information

Since Version
5.3.0
Source File
wp-includes/functions.php
Advertisement