Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_next_scheduled()

3 tags 1 category

wp_next_scheduled() — Retrieves the timestamp of the next scheduled event for the given hook.

Inputs: $hook (string): Action hook of the event. $args (array): Optional. Array containing each separate argument to pass to the hook’s callback function. Although not passed to a callback, these arguments are used to uniquely identify the event, so they must match those used when originally scheduling the event. If the arguments do not match exactly, the event will not be found. Default empty array.

Returns int|false: The Unix timestamp (UTC) of the next time the event will occur. False if the event doesn’t exist.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…