Method | Description | |
---|---|---|
__construct ( ) | Class Constructor | |
add_schedules ( array $schedules = [] ) : array | Registers new cron schedules | |
schedule_events ( ) : void | Schedules our events |
Method | Description | |
---|---|---|
daily_events ( ) : void | Schedule daily events | |
weekly_events ( ) : void | Schedule weekly events |
public add_schedules ( array $schedules = [] ) : array | ||
$schedules | array | An array of non-default cron schedules. |
return | array | An array of non-default cron schedules. |