WPDK
1.5.0
WordPress Development Kit
|
Public Member Functions | |
__construct ($name, $timestap=false, $recurrence=0) | |
Construct. More... | |
cron () | |
Cron. More... | |
remove () | |
Remove. More... | |
Data Fields | |
$name = '' | |
$timestamp = 0 | |
$recurrence = 0 | |
Abastract common layer to schedule an event
Definition at line 154 of file wpdk-cron.php.
__construct | ( | $name, | |
$timestap = false , |
|||
$recurrence = 0 |
|||
) |
Construct.
Create an instance of WPDKRecurringCron class
string | $name | Unique cron name |
string | $timestap | Optional. Timestamp for when to run the event. |
string | $recurrence | Optional. How often the event should recur. |
Definition at line 171 of file wpdk-cron.php.
cron | ( | ) |
remove | ( | ) |
Remove.
Remove/Unschedule a cron job
string | $name | Unique cron name |
Definition at line 212 of file wpdk-cron.php.
$name = '' |
Definition at line 156 of file wpdk-cron.php.
$recurrence = 0 |
Definition at line 158 of file wpdk-cron.php.
$timestamp = 0 |
Definition at line 157 of file wpdk-cron.php.