PHP Class WPDKCron

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

Méthodes publiques

Свойство Type Description
$name
$recurrence
$timestamp

Méthodes publiques

Méthode Description
__construct ( string $name, string $timestamp = false, string $recurrence ) : WPDKCron Create an instance of WPDKCron class
cron ( ) Override with your schedule cron process
remove ( ) Remove/Unschedule a cron job

Method Details

__construct() public méthode

Create an instance of WPDKCron class
public __construct ( string $name, string $timestamp = false, string $recurrence ) : WPDKCron
$name string Unique cron name
$timestamp string Optional. Timestamp for when to run the event.
$recurrence string Optional. How often the event should recur. See WPDKCronSchedules
Résultat WPDKCron

cron() public méthode

Override with your schedule cron process
public cron ( )

remove() public méthode

Remove/Unschedule a cron job
public remove ( )

Property Details

$name public_oe property

public $name

$recurrence public_oe property

public $recurrence

$timestamp public_oe property

public $timestamp