nonce_user_logged_out filter-hook . WP 3.5.0
Filters whether the user who generated the nonce is logged out.
Usage
add_filter( 'nonce_user_logged_out', 'filter_function_name_8728', 10, 2 ); function filter_function_name_8728( $uid, $action ){ // filter... return $uid; }
- $uid(int)
- ID of the nonce-owning user.
- $action(string)
- The nonce action.
Changelog
Since 3.5.0 | Introduced. |
Where the hook is called
nonce_user_logged_out
nonce_user_logged_out
wp-includes/pluggable.php 2147
$uid = apply_filters( 'nonce_user_logged_out', $uid, $action );
wp-includes/pluggable.php 2202
$uid = apply_filters( 'nonce_user_logged_out', $uid, $action );