WC_Session_Handler::maybe_update_nonce_user_logged_out( int $uid, string $action )
When a user is logged out, ensure they have a unique nonce to manage cart and more using the customer/session ID.
Description Description
This filter runs everything wp_verify_nonce()
and wp_create_nonce()
gets called.
Parameters Parameters
- $uid
-
(Required) User ID.
- $action
-
(Required) The nonce action.
Return Return
(int|string)
Source Source
File: includes/class-wc-session-handler.php
Changelog Changelog
Version | Description |
---|---|
5.3.0 | Introduced. |