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

Public Member Functions

 __construct ()
 Construct. More...
 

Static Public Member Functions

static remove ($name)
 Remove. More...
 
static removeAll ($name)
 Remove all. More...
 

Data Fields

 $cron = array()
 Cron jobs. More...
 

Detailed Description

WordPress Cron Controller (model)

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 86 of file wpdk-cron.php.

Constructor & Destructor Documentation

__construct ( )

Construct.

Create an instance of WPDKCronController class

Returns
WPDKCronController

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

Member Function Documentation

static remove (   $name)
static

Remove.

Remove/Unschedule a cron job

Parameters
string$nameUnique cron name

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

static removeAll (   $name)
static

Remove all.

Unschedule all cron jobs attached to a specific hook.

Parameters
string$nameUnique cron name

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

Field Documentation

array $cron = array()

Cron jobs.

List of registered cron

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


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