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_219' ); function filter_function_name_219( $send ){ // filter... return $send; }
- $send(true/false)
- Whether to send auth cookies to the client.
Где вызывается хук
send_auth_cookies
send_auth_cookies
wp-includes/pluggable.php 916
if ( ! apply_filters( 'send_auth_cookies', true ) ) {
wp-includes/pluggable.php 943
if ( ! apply_filters( 'send_auth_cookies', true ) ) {