function admin_notices() { $plugins = get_plugins(); if (array_key_exists('cloudflare/cloudflare.php', $plugins) && $this->_config->get_boolean('notes.cloudflare_plugin')) { echo sprintf('<div class="error"><p>%s %s</p></div>', __('CloudFlare plugin detected. We recommend removing the plugin as it offers no additional capabilities when W3 Total Cache is installed. This message will disappear when CloudFlare is removed.', 'w3-total-cache'), Util_Ui::button_hide_note('Hide this message', 'cloudflare_plugin')); } }