wordpress / latest / hooks / wp_authenticate_application_password_errors.html

do_action( 'wp_authenticate_application_password_errors', WP_Error $error, WP_User $user, array $item, string $password )

Fires when an application password has been successfully checked as valid.

Description

This allows for plugins to add additional constraints to prevent an application password from being used.

Parameters

$error WP_Error
The error object.
$user WP_User
The user authenticating.
$item array
The details about the application password.
$password string
The raw supplied password.

Source

File: wp-includes/user.php. View all references

do_action( 'wp_authenticate_application_password_errors', $error, $user, $item, $password );

Changelog

Version Description
5.6.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_authenticate_application_password_errors