do_action( 'auth_redirect', int $user_id )
Fires before the authentication redirect.
Parameters
- $user_id
-
(int) User ID.
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/auth_redirect