clear_auth_cookie
Fires just before the authentication cookies are cleared.
Usage
add_action( 'clear_auth_cookie', 'wp_kama_clear_auth_cookie_action' ); /** * Function for `clear_auth_cookie` action-hook. * * @return void */ function wp_kama_clear_auth_cookie_action(){ // action... }
Changelog
Since 2.7.0 | Introduced. |
Where the hook is called
clear_auth_cookie
wp-includes/pluggable.php 1114
do_action( 'clear_auth_cookie' );