Filter hook 'get_schedule'

in WP Core File wp-includes/cron.php at line 1149

Description

Filters the schedule name for a hook.

Occurrences

Filename Line Number
wp-includes/cron.php 1149

Parameters

Type Name Description
string|false $schedule Schedule for the hook. False if not found.
string $hook Action hook to execute when cron is run.
array $args Arguments to pass to the hook's callback function.

PHP Doc

/**
	 * Filters the schedule name for a hook.
	 *
	 * @since 5.1.0
	 *
	 * @param string|false $schedule Schedule for the hook. False if not found.
	 * @param string       $hook     Action hook to execute when cron is run.
	 * @param array        $args     Arguments to pass to the hook's callback function.
	 */