WPDK  1.5.0
WordPress Development Kit
 All Data Structures Files Functions Variables Pages
WPDKCronSchedules Class Reference

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'
 

Detailed Description

Useful class to manage periodic inteval

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2014-02-04
Version
1.0.0
Since
1.4.20

Definition at line 14 of file wpdk-cron.php.

Constructor & Destructor Documentation

__construct ( )

Construct.

Create an instance of WPDKCronSchedules class

Returns
WPDKCronSchedules

Definition at line 42 of file wpdk-cron.php.

Member Function Documentation

cron_schedules (   $schedules)

Custom periodic interval.

Set WPDK custom periodic interval

Parameters
array$schedules
Returns
array

Definition at line 57 of file wpdk-cron.php.

static init ( )
static

Singleton.

Return a singleton instance of WPDKCronSchedules class

Returns
WPDKCronSchedules

Definition at line 26 of file wpdk-cron.php.

Field Documentation

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.


The documentation for this class was generated from the following file: