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.
$prenull|false|object
$hookstring
$argsarray
$timestampint|null
$pre = apply_filters( 'pre_get_scheduled_event', null, $hook, $args, $timestamp );
| Version | Description |
|---|---|
| 5.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_get_scheduled_event