auth_cookie_expired хук-событие . WP 2.7.0
Fires once an authentication cookie has expired.
Использование
add_action( 'auth_cookie_expired', 'action_function_name_6422' ); function action_function_name_6422( $cookie_elements ){ // action... }
- $cookie_elements(строка[])
- An array of data for the authentication cookie.
Список изменений
С версии 2.7.0 | Введена. |
Где вызывается хук
auth_cookie_expired
wp-includes/pluggable.php 659
do_action( 'auth_cookie_expired', $cookie_elements );
Где используется хук в ядре WordPress
wp-includes/pluggable.php 275
add_action( 'auth_cookie_expired', 'rest_cookie_collect_status' );