Get the timezone offset Returns the timezone string in the format +00:00 or -00:00 if WordPress version is greater than 5.3.
Description
Otherwise, get the timezone offset from the ‘timezone_string’ option or ‘gmt_offset’ option.
This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Get the timezone offset Returns the timezone string in the format +00:00 or -00:00 if WordPress version is greater than 5.3.
Otherwise, get the timezone offset from the ‘timezone_string’ option or ‘gmt_offset’ option.