wp_timezone_string
wp_timezone_string ( No parameters )
Returns:- (string) PHP timezone string or a ±HH:MM offset.
Defined at: - Introduced in WordPress: 5.3.0
- Deprecated in WordPress: —
Description
Retrieves the timezone from site settings as a string.Uses the `timezone_string` option to get a proper timezone if available,
otherwise falls back to an offset.