cron_schedules filter-hookWP 2.1.0

Filters the non-default cron schedules.

Usage

add_filter( 'cron_schedules', 'wp_kama_cron_schedules_filter' );
function wp_kama_cron_schedules_filter( $new_schedules ){
	// filter...

	return $new_schedules;
}
$new_schedules(array[])
An array of non-default cron schedule arrays.
Default: ''

Changelog

Since 2.1.0 Introduced.

Where the hook is called

wp_get_schedules()
cron_schedules
wp-includes/cron.php 1072
return array_merge( apply_filters( 'cron_schedules', array() ), $schedules );

Where the hook is used in WordPress

Usage not found.