*/ final class Activator { /** * Activate the plugin and schedule the cron. * * @since 2.0.0 * @return void */ public static function activate() { $cron = new Cron(); $cron->get_api_version(); $cron->update_adstxt(); $cron->check_presized_div(); $cron->refresh_token(); $cron->get_fast_cmp(); $cron->schedule(); } }