On this page
apply_filters( 'get_schedule', string|false $schedule, string $hook, array $args )
Filters the schedule for a hook.
Parameters
$schedulestring|false-
Schedule for the hook. False if not found.
$hookstring-
Action hook to execute when cron is run.
$argsarray-
Arguments to pass to the hook's callback function.
Source
File: wp-includes/cron.php. View all references
return apply_filters( 'get_schedule', $schedule, $hook, $args );
Related
Used By
| Used By | Description |
|---|---|
| wp_get_schedule() wp-includes/cron.php | Retrieve the recurrence schedule for an event. |
Changelog
| Version | Description |
|---|---|
| 5.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_schedule