Docs: Remove the duplicate hook documentation for the newly introduced `send_auth_cookies` filter.
See #39367 git-svn-id: https://develop.svn.wordpress.org/trunk@40264 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f5f7736177
commit
44a5ef78d7
|
@ -933,13 +933,7 @@ function wp_clear_auth_cookie() {
|
||||||
*/
|
*/
|
||||||
do_action( 'clear_auth_cookie' );
|
do_action( 'clear_auth_cookie' );
|
||||||
|
|
||||||
/**
|
/** This filter is documented in wp-includes/pluggable.php */
|
||||||
* Allows preventing auth cookies from actually being sent to the client.
|
|
||||||
*
|
|
||||||
* @since 4.7.4
|
|
||||||
*
|
|
||||||
* @param bool $send Whether to send auth cookies to the client.
|
|
||||||
*/
|
|
||||||
if ( ! apply_filters( 'send_auth_cookies', true ) ) {
|
if ( ! apply_filters( 'send_auth_cookies', true ) ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue