Пример #1
0
 /**
  * Admin singleton
  *
  * @since 1.0.0
  *
  * @param  array  $options [description]
  *
  * @uses BuddyBoss_Global_Search_Admin::setup() Init admin class
  *
  * @return object BuddyBoss_Global_Search_Admin
  */
 public static function instance()
 {
     static $instance = null;
     if (null === $instance) {
         $instance = new BuddyBoss_Global_Search_Admin();
         $instance->setup();
     }
     return $instance;
 }