public function plugins_loaded() { if (!$this->passes()) { remove_action('init', array(GD_SEV_Plugin::get_instance(), 'init')); if (current_user_can('activate_plugins')) { add_action('admin_init', array($this, 'admin_init')); add_action('admin_notices', array($this, 'admin_notices')); } } }
protected function __construct($__FILE__) { self::$instance = $this; $this->__FILE__ = $__FILE__; $this->base = dirname(dirname(__FILE__)); add_action('init', array($this, 'init')); add_action('template_redirect', array($this, 'template_redirect')); add_action('admin_menu', array($this, 'admin_menu')); add_filter('gd_sev_integration_base', array($this, 'filter_integration_for_resellers')); add_option(self::JSON_OPTION, '{}', null, false); }
Version: 0.5 Author: GoDaddy Author URI: http://godaddy.com/ Text Domain: sev Domain Path: /languages */ /* Copyright 2014 GoDaddy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ defined('WPINC') or die; // Pull in the plugin classes and initialize include dirname(__FILE__) . '/classes/plugin.php'; include dirname(__FILE__) . '/classes/replace.php'; GD_SEV_Plugin::get_instance(__FILE__); // Pull in the version checker and initialize include dirname(__FILE__) . '/classes/version-check.php'; GD_SEV_Version_Check::get_instance();