Esempio n. 1
0
 /**
  * Implements Factory pattern
  * Strongly inspired by WP Maintenance Mode of Frank Bueltge ^_^ (@link https://github.com/bueltge/WP-Maintenance-Mode)
  * 
  * Access this plugins working instance
  *
  * @wp-hook after_setup_theme
  * @return object of this class
  */
 public static function get_instance()
 {
     NULL === self::$instance and self::$instance = new self();
     return self::$instance;
 }