wp_schedule_event Wordpress function


Description:

Schedule a periodic event.


Syntax:


Arguments:

(int) $timestamp Timestamp for when to run the event.
(string) $recurrence How often the event should recur.
(string) $hook Action hook to execute when cron is run.
(array) $args Optional. Arguments to pass to the hook's callback function.


Return Type:

(bool|null) False on failure, null when complete with scheduling event.


Define At:

wp-includes/cron.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_schedule_event


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×