auth_cookie_bad_hash хук-событие . WP 2.7.0
Fires if a bad authentication cookie hash is encountered.
Использование
add_action( 'auth_cookie_bad_hash', 'action_function_name_4506' ); function action_function_name_4506( $cookie_elements ){ // action... }
- $cookie_elements(строка[])
- An array of data for the authentication cookie.
Список изменений
С версии 2.7.0 | Введена. |
Где вызывается хук
auth_cookie_bad_hash
wp-includes/pluggable.php 692
do_action( 'auth_cookie_bad_hash', $cookie_elements );
Где используется хук в ядре WordPress
wp-includes/pluggable.php 277
add_action( 'auth_cookie_bad_hash', 'rest_cookie_collect_status' );