/var/www/html/wp-content/plugins/koko-analytics/src/

OS : Linux

PHP Version : 7.4.33

Software : Apache/2.4.6 (CentOS) PHP/7.4.33

Information System : maybe_show(); } public function get_settings(): array { $settings = get_settings(); $defaults = [ 'timestamp_installed' => null, 'dismissed' => false, ]; $settings['notice_pro'] = array_merge($defaults, $settings['notice_pro'] ?? []); return $settings; } private function get_setting(string $key) { $settings = $this->get_settings(); return $settings['notice_pro'][$key]; } private function update_setting(string $key, $value): void { $settings = $this->get_settings(); $settings['notice_pro'][$key] = $value; update_option('koko_analytics_settings', $settings, true); } public function maybe_show(): void { if (!current_user_can('manage_koko_analytics')) { return; } if (defined('KOKO_ANALYTICS_PRO_VERSION')) { return; } if (isset($_GET['ka-notice-pro-dismiss'])) { $this->update_setting('dismissed', true); return; } $date_installed = $this->get_setting('timestamp_installed'); if ($date_installed === null) { $this->update_setting('timestamp_installed', time()); return; } if ($date_installed > time() - (86400 * 30)) { return; } $dismissed = $this->get_setting('dismissed'); if ($dismissed) { return; } ?>

Hello! You have been using Koko Analytics for a while now. We are showing you this one-time notice to ask for a small favor.

If you enjoy using this free plugin, please consider giving back by:

We thank you for your consideration.
~ Danny, Harish and Arne

Learn more about Koko Analytics Pro   Never show again