PHP Class WPDKCronController

Since: 1.4.20
Author: =undo= ([email protected])
Datei anzeigen Open project: wpxtreme/wpdk Class Usage Examples

Public Properties

Property Type Description
$cron array List of registered cron

Public Methods

Method Description
__construct ( ) : WPDKCronController Create an instance of WPDKCronController class
remove ( string $name ) Remove/Unschedule a cron job
removeAll ( string $name ) Unschedule all cron jobs attached to a specific hook.

Method Details

__construct() public method

Create an instance of WPDKCronController class
public __construct ( ) : WPDKCronController
return WPDKCronController

remove() public static method

Remove/Unschedule a cron job
public static remove ( string $name )
$name string Unique cron name

removeAll() public static method

Unschedule all cron jobs attached to a specific hook.
public static removeAll ( string $name )
$name string Unique cron name

Property Details

$cron public_oe property

List of registered cron
public array $cron
return array