send_auth_cookies хук-фильтр . WP 4.7.4
Allows preventing auth cookies from actually being sent to the client.
Использование
add_filter( 'send_auth_cookies', 'filter_function_name_3399' ); function filter_function_name_3399( $send ){ // filter... return $send; }
- $send(true/false)
- Whether to send auth cookies to the client.
Список изменений
С версии 4.7.4 | Введена. |
Где вызывается хук
send_auth_cookies
send_auth_cookies
wp-includes/pluggable.php 987
if ( ! apply_filters( 'send_auth_cookies', true ) ) {
wp-includes/pluggable.php 1015
if ( ! apply_filters( 'send_auth_cookies', true ) ) {