Ready to get started?Download WordPress


Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Difference between revisions of "Function Reference/wp next scheduled"

m (fix typo)
(Using Parameter template)
Line 11: Line 11:
== Parameters ==
== Parameters ==
{{Parameter|$hook|string|Name of the action hook for event.}}
; hook: Name of action hook for event (string)
{{Parameter|$args|array|Arguments to pass to the hook function(s).|optional}}
; args: Arguments to pass into the hook function(s) (array)
See Also:
See Also:

Revision as of 02:32, 13 January 2008


Returns the next timestamp for a cron event.


 $timestamp = wp_next_scheduled( hook, args (optional)); 

Return Value

The time the scheduled event will next occur (unix timestamp)


(string) (required) Name of the action hook for event.
Default: None
(array) (optional) Arguments to pass to the hook function(s).
Default: None

See Also: