예제 #1
0
 public static function get()
 {
     $value = parent::get();
     if (empty($value)) {
         update_option(self::$setting_name, self::$default_value);
     }
     return $value;
 }
예제 #2
0
 public static function is_enabled()
 {
     return !parent::is_enabled();
 }