classes/Tasks/BackgroundProcess.php
protected function clear_scheduled_event() {
		$timestamp = wp_next_scheduled( $this->cron_hook_identifier );

		if ( $timestamp ) {
			wp_unschedule_event( $timestamp, $this->cron_hook_identifier );
		}
	}
protected function clear_scheduled_event() {
		$timestamp = wp_next_scheduled( $this->cron_hook_identifier );

		if ( $timestamp ) {
			wp_unschedule_event( $timestamp, $this->cron_hook_identifier );
		}
	}
protected function clear_scheduled_event ( ) { $ timestamp = wp_next_scheduled ( $ this -> cron_hook_identifier ) ; if ( $ timestamp ) { wp_unschedule_event ( $ timestamp , $ this -> cron_hook_identifier ) ; } }
Clear scheduled event
Clear scheduled event