WP_Background_Process::complete PHP Method

complete() protected method

Override if applicable, but ensure that the below actions are performed, or, call parent::complete().
protected complete ( )
        protected function complete()
        {
            // Unschedule the cron healthcheck.
            $this->clear_scheduled_event();
        }

Usage Example

 protected function complete()
 {
     update_option('ilab_s3_import_status', false);
     delete_option('ilab_s3_import_total_count');
     delete_option('ilab_s3_import_current');
     parent::complete();
 }
All Usage Examples Of WP_Background_Process::complete