auth_cookie_expired action-hook . WP 2.7.0
Fires once an authentication cookie has expired.
Usage
add_action( 'auth_cookie_expired', 'action_function_name_1623' ); function action_function_name_1623( $cookie_elements ){ // action... }
- $cookie_elements(string[])
- An array of data for the authentication cookie.
Changelog
Since 2.7.0 | Introduced. |
Where the hook is called
auth_cookie_expired
wp-includes/pluggable.php 659
do_action( 'auth_cookie_expired', $cookie_elements );
Where in WP core the hook is used WordPress
wp-includes/pluggable.php 275
add_action( 'auth_cookie_expired', 'rest_cookie_collect_status' );