auth_redirect хук-событие . WP 2.8.0
Fires before the authentication redirect.
Использование
add_action( 'auth_redirect', 'action_function_name_9020' ); function action_function_name_9020( $user_id ){ // action... }
- $user_id(число)
- User ID.
Список изменений
С версии 2.8.0 | Введена. |
Где вызывается хук
wp-includes/pluggable.php 1119
do_action( 'auth_redirect', $user_id );