PHP Class WPDKCron

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

Public Properties

Property Type Description
$name
$recurrence
$timestamp

Public Methods

Method 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 method

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
return WPDKCron

cron() public method

Override with your schedule cron process
public cron ( )

remove() public method

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