if( ! class_exists( 'GSPlugins_team' ) ){ class GSPlugins_team{ /** * Singleton Instance * * @access private static */ private static $_instance; public function __construct() { add_action( 'admin_menu', array( $this, 'gs_main_menu' ) ); } /** * Get class singleton instance * * @return Class Instance */ public static function get_instance() { if ( ! self::$_instance instanceof GSPlugins_team ) { self::$_instance = new GSPlugins_team(); } return self::$_instance; } public function gs_main_menu() { add_submenu_page( 'edit.php?post_type=gs_team', 'GS Plugins', 'GS Plugins', 'manage_options', 'gstm-add-ons', array( $this, 'gsteam_main_menu_cb' ) ); } public function gsteam_main_menu_cb() { $protocol = is_ssl() ? 'https' : 'http'; $promo_content = wp_remote_get( $protocol . '://www.gsamdani.com/gs_plugins_list/index.php' ); echo $promo_content['body']; } } $tmev = GSPlugins_team::get_instance(); }
Parse error: syntax error, unexpected '}' in /home/content/09/11715509/html/wp-content/plugins/gs-team-members/gsteam-files/gs-plugins/gs-plugins-free.php on line 293