ActionScheduler_TimezoneHelper
Description Description
Source Source
File: packages/action-scheduler/classes/abstracts/ActionScheduler_TimezoneHelper.php
Methods Methods
- get_local_timezone — deprecated
- get_local_timezone_offset — Get timezone offset in seconds.
- get_local_timezone_string — Helper to retrieve the timezone string for a site until a WP core method exists (see https://core.trac.wordpress.org/ticket/24730).
- set_local_timezone — Set a DateTime's timezone to the WordPress site's timezone, or a UTC offset if no timezone string is available.