plugin_basename); } /** * constructor * * @param array $options class options * plugin => */ public function __construct() { $this->_uninstall_result = $this->uninstall(); } /** * Result Getter * * @return bool wether or not uninstall did run successfull. */ public function get_result() { return $this->_uninstall_result; } public function is_installed() { return ((get_option($this->unique_prefix . '_options') !== false) && (get_option($this->unique_prefix . '_options_bk') !== false) && (get_option($this->unique_prefix . '_version') !== false) && (get_site_option($this->unique_prefix . '_options') !== false) && (get_site_option($this->unique_prefix . '_options_bk') !== false) && (get_site_option($this->unique_prefix . '_version') !== false)); } } /// class bcn_uninstaller_abstract