Function wp_timezone
Retrieves the timezone of the site as a DateTimeZone
object.
Timezone can be based on a PHP timezone string or a ±HH:MM offset.
Package: EPL\Compatibility\Shortcodes
Copyright: Copyright (c) 2016, Merv Barrett
License: GNU Public License
Since: 3.5.7 Added as this function is not present before WordPress 5.3.0
Located at lib/compatibility/wp-functions-compat.php
Copyright: Copyright (c) 2016, Merv Barrett
License: GNU Public License
Since: 3.5.7 Added as this function is not present before WordPress 5.3.0
Located at lib/compatibility/wp-functions-compat.php
Return value summary
DateTimeZone
|
Timezone object. |