classes/Tasks/BackgroundProcess.php
public function schedule_cron_healthcheck( $schedules ) {
		$interval = apply_filters( $this->identifier . '_cron_interval', 5 );

		if ( property_exists( $this, 'cron_interval' ) ) {
			$interval = apply_filters( $this->identifier . '_cron_interval', $this->cron_interval_identifier );
		}

		// Adds every 5 minutes to the existing schedules.
		$schedules[ $this->identifier . '_cron_interval' ] = array(
			'interval' => MINUTE_IN_SECONDS * $interval,
			'display'  => sprintf( __( 'Every %d Minutes' ), $interval ),
		);

		return $schedules;
	}
public function schedule_cron_healthcheck( $schedules ) {
		$interval = apply_filters( $this->identifier . '_cron_interval', 5 );

		if ( property_exists( $this, 'cron_interval' ) ) {
			$interval = apply_filters( $this->identifier . '_cron_interval', $this->cron_interval_identifier );
		}

		// Adds every 5 minutes to the existing schedules.
		$schedules[ $this->identifier . '_cron_interval' ] = array(
			'interval' => MINUTE_IN_SECONDS * $interval,
			'display'  => sprintf( __( 'Every %d Minutes' ), $interval ),
		);

		return $schedules;
	}
public function schedule_cron_healthcheck ( $ schedules ) { $ interval = apply_filters ( $ this -> identifier . '_cron_interval' , 5 ) ; if ( property_exists ( $ this , 'cron_interval' ) ) { $ interval = apply_filters ( $ this -> identifier . '_cron_interval' , $ this -> cron_interval_identifier ) ; } // Adds every 5 minutes to the existing schedules. $ schedules [ $ this -> identifier . '_cron_interval' ] = array ( 'interval' => MINUTE_IN_SECONDS * $ interval , 'display' => sprintf ( __ ( 'Every %d Minutes' ) , $ interval ) , ) ; return $ schedules ; }
Schedule cron healthcheck

@access public
@param mixed $schedules Schedules.
@return mixed
Schedule cron healthcheck