application_password_failed_authentication
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
application_password_failed_authentication
wp-includes/user.php 393
do_action( 'application_password_failed_authentication', $error );
wp-includes/user.php 431
do_action( 'application_password_failed_authentication', $error );
wp-includes/user.php 457
do_action( 'application_password_failed_authentication', $error );
Where the hook is used in WordPress
wp-includes/default-filters.php 327
add_action( 'application_password_failed_authentication', 'rest_application_password_collect_status' );