Warning: This method has been deprecated.
WC_Session_Handler::nonce_user_logged_out( int $uid )
When a user is logged out, ensure they have a unique nonce by using the customer/session ID.
Description Description
Parameters Parameters
- $uid
-
(Required) User ID.
Return Return
(int|string)
Source Source
File: includes/class-wc-session-handler.php
public function nonce_user_logged_out( $uid ) { return $this->has_session() && $this->_customer_id ? $this->_customer_id : $uid; }
Changelog Changelog
Version | Description |
---|---|
5.3.0 | Introduced. |