/** * */ public function spamlytics_new_daily_data() { $settings = \SpamLyticsHelper::get_settings(); if ($settings['api_key'] !== '') { $fetcher = new Fetcher($settings['api_key']); $fetcher->check_for_updates(); } }