(identifier)_cron_interval
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
(identifier)_cron_interval
(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 );