Пример #1
0
 /**
  * Returns singletone instance of the plugin.
  *
  * @since 4.0.0
  *
  * @static
  * @access public
  * @return Domainmap_Plugin
  */
 public static function instance()
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new Domainmap_Plugin();
     }
     return self::$_instance;
 }