Exemplo n.º 1
0
 /**
  * Change the login form error and call the filter so that it will display
  *
  * @param string $message
  */
 public static function changeLoginError($message)
 {
     self::$login_error_msg = $message;
     add_filter('login_errors', array('LoginWithAmazonUtility', 'changeErrorOnLoginForm'), 10, 0);
 }