auth_redirect action-hook . WP 2.8.0
Fires before the authentication redirect.
Usage
add_action( 'auth_redirect', 'action_function_name_6708' ); function action_function_name_6708( $user_id ){ // action... }
- $user_id(int)
- User ID.
Changelog
Since 2.8.0 | Introduced. |
Where the hook is called
wp-includes/pluggable.php 1086
do_action( 'auth_redirect', $user_id );