apply_filters( 'get_schedule', string|false $schedule, string $hook, array $args )
Filters the schedule for a hook.
Parameters
- $schedule
-
(string|false) Schedule for the hook. False if not found.
- $hook
-
(string) Action hook to execute when cron is run.
- $args
-
(array) Arguments to pass to the hook's callback function.
Source
File: wp-includes/cron.php
Changelog
Version | Description |
---|---|
5.1.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_schedule