W3cubDocs

/WordPress

apply_filters( ‘nonce_user_logged_out’, int $uid, string|int $action )

Filters whether the user who generated the nonce is logged out.

Parameters

$uidint
ID of the nonce-owning user.
$actionstring|int
The nonce action, or -1 if none was provided.

Source

$uid = apply_filters( 'nonce_user_logged_out', $uid, $action );

Changelog

Version Description
3.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/nonce_user_logged_out