![]() |
WPDK
1.5.0
WordPress Development Kit
|
Public Member Functions | |
| __construct () | |
| Construct. More... | |
| cron_schedules ($schedules) | |
| Custom periodic interval. More... | |
Static Public Member Functions | |
| static | init () |
| Singleton. More... | |
Data Fields | |
| const | HALF_HOUR = 'wpdk_half_hour' |
| const | TWO_MINUTES = 'wpdk_two_minutes' |
Useful class to manage periodic inteval
Definition at line 14 of file wpdk-cron.php.
| __construct | ( | ) |
Construct.
Create an instance of WPDKCronSchedules class
Definition at line 42 of file wpdk-cron.php.
| cron_schedules | ( | $schedules | ) |
Custom periodic interval.
Set WPDK custom periodic interval
| array | $schedules |
Definition at line 57 of file wpdk-cron.php.
|
static |
Singleton.
Return a singleton instance of WPDKCronSchedules class
Definition at line 26 of file wpdk-cron.php.
| const HALF_HOUR = 'wpdk_half_hour' |
Definition at line 16 of file wpdk-cron.php.
| const TWO_MINUTES = 'wpdk_two_minutes' |
Definition at line 17 of file wpdk-cron.php.