static function get_instance() { if (empty(self::$_this)) { self::$_this = new WP_Photo_Gallery_Config(); self::$_this->load_config(); return self::$_this; } return self::$_this; }
function load_configs() { include_once 'classes/wppg-photo-config.php'; $this->configs = WP_Photo_Gallery_Config::get_instance(); }