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.


Top ↑

Return Return

(int|string)


Top ↑

Source Source

File: includes/class-wc-session-handler.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
5.3.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.