Tribe__Process__Queue::cancel_process()
Cancels the current process.
Stops processing queue items and clean up.
Source
File: src/Tribe/Process/Queue.php
public function cancel_process() { if ( ! $this->is_queue_empty() ) { $batch = $this->get_batch(); $this->delete( $batch->key ); wp_clear_scheduled_hook( $this->healthcheck_cron_hook_id ); } }
Changelog
Version | Description |
---|---|
4.9.5 | Introduced. |