Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/user.php | do_action | 382 | /** * Fires when an application password failed to authenticate the user. * * @since 5.6.0 * * @param WP_Error $error The authentication error. */ |
wp-includes/user.php | do_action | 420 | /** * Fires when an application password has been successfully checked as valid. * * This allows for plugins to add additional constraints to prevent an application password from being used. * * @since 5.6.0 * * @param WP_Error $error The error object. * @param WP_User $user The user authenticating. * @param array $item The details about the application password. * @param string $password The raw supplied password. */ |
wp-includes/user.php | do_action | 446 | /** * Fires after an application password was used for authentication. * * @since 5.6.0 * * @param WP_User $user The user who was authenticated. * @param array $item The application password used. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
WP_Error | $error | The authentication error. |
WP_Error | $error | The authentication error. |
WP_Error | $error | The authentication error. |