/**
  *
  * Ensures only one instance of SimpleComments is loaded or can be loaded.
  *
  * @static
  * @return class instance
  */
 public static function instance()
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Example #2
0
 public function check_response_for_errors($response)
 {
     return MainWPApiManagerPluginUpdate::instance()->check_response_for_errors($response, $this->renew_license_url);
 }