application_password_failed_authentication хук-событиеWP 5.6.0

Fires when an application password failed to authenticate the user.

Использование

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.

Список изменений

С версии 5.6.0 Введена.

Где вызывается хук

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 );

Где используется хук в WordPress

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