Uses the timezone_string option to get a proper timezone name if available, otherwise falls back to a manual UTC ± offset. Example return values: <ul> <li>'Europe/Rome'</li> <li>'America/North_Dakota/New_Salem'</li> <li>'UTC'</li> <li>'-06:30'</li> <li>'+00:00'</li> <li>'+08:45'</li> </ul>
Return
string
PHP timezone name or a ±HH:MM offset.
Uses · 1
get_option()Retrieves an option value based on an option name.
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 6.7.7 tag, from src/wp-includes/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.