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

In this article

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

VersionDescription
5.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.