wordpress / latest / hooks / get_schedule.html

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. View all references

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

Used By

Used By Description

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