WP_Background_Process::clear_scheduled_event()

Clear scheduled event


Source Source

File: vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php

	protected function clear_scheduled_event() {
		$timestamp = wp_next_scheduled( $this->cron_hook_identifier );

		if ( $timestamp ) {
			wp_unschedule_event( $timestamp, $this->cron_hook_identifier );
		}
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.