Astra_WP_Background_Process::clear_scheduled_event()
Clear scheduled event
Description
Source
File: inc/lib/batch-processing/class-astra-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 ); } }
Expand full source code Collapse full source code View on Trac