W3cubDocs

/WordPress

apply_filters( ‘get_schedule’, string|false $schedule, string $hook, array $args )

Filters the schedule name 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

return apply_filters( 'get_schedule', $schedule, $hook, $args );

Changelog

Version Description
5.1.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_schedule