function admin_init()
 {
     global $pagenow;
     // query modifier settings section
     add_settings_section($this->section, '', array($this, $this->section), $this->section);
     register_setting($this->section, 'qe_queries', array($this, 'save'));
     $plugin = icit_plugins::instance();
     if ($plugin->is_plugin_page()) {
         wp_enqueue_style('query-editor', QUERY_EDITOR_URL . '/css/admin.css');
         wp_enqueue_script('query-editor', QUERY_EDITOR_URL . '/js/admin.js', array('jquery'));
     }
 }
 public static function instance()
 {
     null === self::$instance and self::$instance = new self();
     return self::$instance;
 }