wp_authenticate_application_password_errors WordPress Action Hook

The wp_authenticate_application_password_errors hook is used to filter the error messages returned by the application password authentication process. This can be used to customise the error message output, or to return a different error message for different types of authentication errors.

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.


Top ↑

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.


Top ↑

Source

File: wp-includes/user.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More