Example #1
0
 /**
  * Returns the singleton instance of the class.
  *
  * @since 2.1.0
  *
  * @return object The Optin_Monster_Vendor object.
  */
 public static function get_instance()
 {
     if (!isset(self::$instance) && !self::$instance instanceof Optin_Monster_Vendor) {
         self::$instance = new Optin_Monster_Vendor();
     }
     return self::$instance;
 }