application_password_failed_authentication

application_password_failed_authentication

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('application_password_failed_authentication') is found 3 times:

  • /wp-includes/user.php line 412
    		 * @since 5.6.0
    		 *
    		 * @param WP_Error $error The authentication error.
    		 */
    		do_action( 'application_password_failed_authentication', $error );
    
    		return $error;
    	}
    
    	/*
    	 * Strips out anything non-alphanumeric. This is so passwords can be used with
    
  • /wp-includes/user.php line 450
    		do_action( 'wp_authenticate_application_password_errors', $error, $user, $item, $password );
    
    		if ( is_wp_error( $error ) && $error->has_errors() ) {
    			/** This action is documented in wp-includes/user.php */
    			do_action( 'application_password_failed_authentication', $error );
    
    			return $error;
    		}
    
    		WP_Application_Passwords::record_application_password_usage( $user->ID, $item['uuid'] );
    
    
  • /wp-includes/user.php line 476
    		__( 'The provided password is an invalid application password.' )
    	);
    
    	/** This action is documented in wp-includes/user.php */
    	do_action( 'application_password_failed_authentication', $error );
    
    	return $error;
    }
    
    /**
     * Validates the application password credentials passed via Basic Authentication.