send_auth_cookies filter-hook . WP 4.7.4
Allows preventing auth cookies from actually being sent to the client.
Usage
add_filter( 'send_auth_cookies', 'filter_function_name_7722' ); function filter_function_name_7722( $send ){ // filter... return $send; }
- $send(true/false)
- Whether to send auth cookies to the client.
Changelog
Since 4.7.4 | Introduced. |
Where the hook is called
send_auth_cookies
send_auth_cookies
wp-includes/pluggable.php 954
if ( ! apply_filters( 'send_auth_cookies', true ) ) {
wp-includes/pluggable.php 982
if ( ! apply_filters( 'send_auth_cookies', true ) ) {