application_password_failed_authentication action-hookWP 5.6.0

Fires when an application password failed to authenticate the user.

Usage

add_action( 'application_password_failed_authentication', 'wp_kama_application_password_failed_authentication_action' );

/**
 * Function for `application_password_failed_authentication` action-hook.
 * 
 * @param WP_Error $error The authentication error.
 *
 * @return void
 */
function wp_kama_application_password_failed_authentication_action( $error ){

	// action...
}
$error(WP_Error)
The authentication error.

Changelog

Since 5.6.0 Introduced.

Where the hook is called

wp_authenticate_application_password()
application_password_failed_authentication
wp-includes/user.php 382
do_action( 'application_password_failed_authentication', $error );
wp-includes/user.php 420
do_action( 'application_password_failed_authentication', $error );
wp-includes/user.php 446
do_action( 'application_password_failed_authentication', $error );

Where the hook is used in WordPress

wp-includes/default-filters.php 318
add_action( 'application_password_failed_authentication', 'rest_application_password_collect_status' );