public function filter_status_gpl_features($features, $lca, $info)
 {
     foreach ($info['lib']['gpl'] as $sub => $libs) {
         if ($sub === 'admin') {
             // skip status for admin menus and tabs
             continue;
         }
         foreach ($libs as $id_key => $label) {
             list($id, $stub, $action) = SucomUtil::get_lib_stub_action($id_key);
             $classname = SucomUtil::sanitize_classname('wpssojsongpl' . $sub . $id, false);
             // $underscore = false
             $features[$label] = array('status' => class_exists($classname) ? 'on' : 'off');
         }
     }
     return $this->filter_common_status_features($features, $lca, $info);
 }
 public function wpsso_init_options()
 {
     if (method_exists('Wpsso', 'get_instance')) {
         $this->p =& Wpsso::get_instance();
     } else {
         $this->p =& $GLOBALS['wpsso'];
     }
     if ($this->p->debug->enabled) {
         $this->p->debug->mark();
     }
     if (self::$have_min === false) {
         return;
     }
     // stop here
     $this->p->is_avail['json'] = true;
     foreach (array('gpl', 'pro') as $lib) {
         foreach (array('head', 'prop') as $sub) {
             if (!isset(WpssoJsonConfig::$cf['plugin']['wpssojson']['lib'][$lib][$sub]) || !is_array(WpssoJsonConfig::$cf['plugin']['wpssojson']['lib'][$lib][$sub])) {
                 continue;
             }
             foreach (WpssoJsonConfig::$cf['plugin']['wpssojson']['lib'][$lib][$sub] as $id_key => $label) {
                 list($id, $stub, $action) = SucomUtil::get_lib_stub_action($id_key);
                 $this->p->is_avail[$sub][$id] = true;
             }
         }
     }
 }