final class Cron_Manager

A class to manage the WP Cron associated with the Action Scheduler and how ofter to check for timers to run.

Constants

WP_CRON_SCHEDULE

WP_CRON_SCHEDULE_INTERVAL

WP_CRON_SCHEDULE_HOOK

Methods

static 
_cron_schedules(array $schedules)

The WordPress hook for 'cron_schedules'.

static 
_wppf_action_scheduler_update_hook()

Function name matches that of the constant stored in this class, function is the hook function run.

static 
check_cron_timer()

Checks is the cron timer is created and creates it if it is not.

Details

at line 39
final static _cron_schedules(array $schedules)

The WordPress hook for 'cron_schedules'.

Parameters

array $schedules

The cron schedule types (minute, hour, etc).

at line 51
final static _wppf_action_scheduler_update_hook()

Function name matches that of the constant stored in this class, function is the hook function run.

at line 58
final static check_cron_timer()

Checks is the cron timer is created and creates it if it is not.