public function deactivate_all_crons() { foreach ($this->crons as $cron_name => $cron) { $this->deactivate_cron($cron_name); } }