wp_login

wp_login

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('wp_login') is found 1 times:

  • /wp-includes/user.php line 121
    	 *
    	 * @param string  $user_login Username.
    	 * @param WP_User $user       WP_User object of the logged-in user.
    	 */
    	do_action( 'wp_login', $user->user_login, $user );
    	return $user;
    }
    
    /**
     * Authenticates a user, confirming the username and password are valid.
     *
    

See this hook used in plugins: