Home/Hooks/auth_cookie_bad_username
ACTION

auth_cookie_bad_username

Fires if a bad username is entered in the user authentication process. Authentication cookie components. None of the components should be assumed to be valid as they come directly from a client-provided cookie value. }

wp-includes/pluggable.php
Line 768
1 Parameter
View Source

Usage

add_action( 'auth_cookie_bad_username', 'your_callback_function', 10, 1 );

Action Callback:

function your_callback_function( $cookie_elements ) {
    // Your code here
    
}

Parameters

$cookie_elements

Parameter 1

⚡ Action Hook

Action hooks allow you to insert custom code at specific points during WordPress execution. Actions do not return any values.