public function init() {
		if ( ! $this->is_enabled() ) {
			return false;
		}

		add_filter( 'cron_schedules', array( $this, 'schedule_cron' ) );
		add_action( $this->id, array( $this, 'cron_worker' ) );

		if ( ! wp_next_scheduled( $this->id ) ) {
			// Schedule health check
			wp_schedule_event( time(), $this->id, $this->id );
		}

		return true;
	}
public function init() {
		if ( ! $this->is_enabled() ) {
			return false;
		}

		add_filter( 'cron_schedules', array( $this, 'schedule_cron' ) );
		add_action( $this->id, array( $this, 'cron_worker' ) );

		if ( ! wp_next_scheduled( $this->id ) ) {
			// Schedule health check
			wp_schedule_event( time(), $this->id, $this->id );
		}

		return true;
	}
public function init ( ) { if ( ! $ this -> is_enabled ( ) ) { return false ; } add_filter ( 'cron_schedules' , array ( $ this , 'schedule_cron' ) ) ; add_action ( $ this -> id , array ( $ this , 'cron_worker' ) ) ; if ( ! wp_next_scheduled ( $ this -> id ) ) { // Schedule health check wp_schedule_event ( time ( ) , $ this -> id , $ this -> id ) ; } return true ; }
Init cron class.

@return bool
Init cron class .