wordpress / latest / hooks / auth_redirect.html

do_action( 'auth_redirect', int $user_id )

Fires before the authentication redirect.

Parameters

$user_id int
User ID.

Source

File: wp-includes/pluggable.php. View all references

do_action( 'auth_redirect', $user_id );

Used By

Used By Description

Changelog

Version Description
2.8.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/auth_redirect