wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



pre_get_scheduled_event › WordPress Filter Hooks

Da5.1.0
Deprecaton/a
› apply_filters( 'pre_get_scheduled_event', null, $hook, $args, $timestamp )
Parametri: (4)
  • () pre Value to return instead. Default null to continue retrieving the event.
    Richiesto: Sì
  • () hook Action hook of the event.
    Richiesto: Sì
  • () args 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.
    Richiesto: Sì
  • () timestamp Unix timestamp (UTC) of the event. Null to retrieve next scheduled event.
    Richiesto: Sì
Definito a:
Codex:

Filter to override retrieving a scheduled event.

Returning a non-null value will short-circuit the normal process, returning the filtered value instead. Return false if the event does not exist, otherwise an event object should be returned.




Sorgenti

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