/**
  * Returns a singleton reference of this class.
  *
  * @author Stefan Herndler
  * @since 1.0.0
  * @return WPT_ShortCodes
  */
 public static function singleton()
 {
     // initialize singleton if first call
     if (!self::$a_obj_Singleton instanceof WBR_ShortCodes) {
         self::$a_obj_Singleton = new self();
     }
     // return the singleton of this class
     return self::$a_obj_Singleton;
 }
 /**
  * Loads and registers short codes.
  *
  * @author Stefan Herndler
  * @since 1.0.0
  */
 private function loadShortCodes()
 {
     // require the class which handles all short codes
     require_once dirname(__FILE__) . '/ShortCodes.php';
     // register all WordPress hooks
     WBR_ShortCodes::singleton();
 }