コード例 #1
0
 /**
  * Get the singleton instance of the class.
  *
  * @since 1.3.3
  *
  * @return object self::$instance The single instance of the class.
  */
 public static function get_instance()
 {
     if (is_null(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }