clear_auth_cookie
Fires just before the authentication cookies are cleared.
Использование
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... }
Список изменений
С версии 2.7.0 | Введена. |
Где вызывается хук
clear_auth_cookie
wp-includes/pluggable.php 1114
do_action( 'clear_auth_cookie' );