PHP Class Give_Cron, Give

This class handles scheduled events.
Since: 1.3.2
Datei anzeigen Open project: wordimpress/give

Public Methods

Method Description
__construct ( ) Class Constructor
add_schedules ( array $schedules = [] ) : array Registers new cron schedules
schedule_events ( ) : void Schedules our events

Private Methods

Method Description
daily_events ( ) : void Schedule daily events
weekly_events ( ) : void Schedule weekly events

Method Details

__construct() public method

Set up the Give Cron Class.
See also: Give_Cron::weekly_events()
Since: 1.3.2
public __construct ( )

add_schedules() public method

Registers new cron schedules
Since: 1.3.2
public add_schedules ( array $schedules = [] ) : array
$schedules array An array of non-default cron schedules.
return array An array of non-default cron schedules.

schedule_events() public method

Schedules our events
Since: 1.3.2
public schedule_events ( ) : void
return void