(identifier)_cron_interval filter-hookWC 1.0

Schedule cron healthcheck.

Usage

add_filter( '(identifier)_cron_interval', 'wp_kama_identifier_cron_interval_filter' );

/**
 * Function for `(identifier)_cron_interval` filter-hook.
 * 
 * @param array $schedules Schedules.
 *
 * @return array
 */
function wp_kama_identifier_cron_interval_filter( $schedules ){

	// filter...
	return $schedules;
}
$schedules(array)
Schedules.

Where the hook is called

WC_Background_Process::schedule_cron_healthcheck()
(identifier)_cron_interval
WP_Background_Process::schedule_cron_healthcheck()
(identifier)_cron_interval
woocommerce/includes/abstracts/class-wc-background-process.php 162
$interval = apply_filters( $this->identifier . '_cron_interval', 5 );
woocommerce/includes/libraries/wp-background-process.php 414
$interval = apply_filters( $this->identifier . '_cron_interval', 5 );
woocommerce/includes/libraries/wp-background-process.php 417
$interval = apply_filters( $this->identifier . '_cron_interval', $this->cron_interval );
woocommerce/includes/abstracts/class-wc-background-process.php 165
$interval = apply_filters( $this->identifier . '_cron_interval', $this->cron_interval );

Where the hook is used in WooCommerce

Usage not found.