A WordPress-centric search engine for devs and theme authors

pre_next_scheduled ›

apply_filters( 'pre_next_scheduled', null, $hook, $args )
Parameters: (3)
  • (null|bool) $pre Value to return instead. Default null to continue unscheduling the event.
    Required: Yes
  • (string) $hook Action hook of the event.
    Required: Yes
  • (array) $args Arguments to pass to the hook's callback function.
    Required: Yes
Defined at:

Filter to preflight or hijack retrieving the next scheduled event timestamp.

Returning a non-null value will short-circuit the normal retrieval process, causing the function to return the filtered value instead.

Pass the timestamp of the next event if it exists, false if not.


$pre = apply_filters( 'pre_next_scheduled', null, $hook, $args );