Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/class-wc-session-handler.php

WC_Session_Handler::maybe_update_nonce_user_logged_out()

Method: When a user is logged out, ensure they have a unique nonce to manage cart and more using the customer/session ID.

Source: includes/class-wc-session-handler.php:329

Used by 0 functions | Uses 2 functions

WC_Session_Handler::get_customer_unique_id()

Method: Get session unique ID for requests if session is initialized or user ID if logged in.

Source: includes/class-wc-session-handler.php:197

Used by 0 functions | Uses 1 function

WC_Session_Handler::cleanup_sessions()

Method: Cleanup session data from the database and clear caches.

Source: includes/class-wc-session-handler.php:340

Used by 0 functions | Uses 1 function

WC_Session_Handler::get_session()

Method: Returns the session.

Source: includes/class-wc-session-handler.php:357

Used by 1 function | Uses 2 functions

WC_Session_Handler::delete_session()

Method: Delete the session from the cache and database.

Source: includes/class-wc-session-handler.php:388

Used by 2 functions | Uses 1 function

WC_Session_Handler::update_session_timestamp()

Method: Update the session expiry timestamp.

Source: includes/class-wc-session-handler.php:407

Used by 1 function | Uses 0 functions

WC_Session_Handler::save_data()

Method: Save data and delete guest session.

Source: includes/class-wc-session-handler.php:263

Used by 1 function | Uses 3 functions

WC_Session_Handler::destroy_session()

Method: Destroy all session data.

Source: includes/class-wc-session-handler.php:289

Used by 0 functions | Uses 2 functions

WC_Session_Handler::forget_session()

Method: Forget all session data without destroying it.

Source: includes/class-wc-session-handler.php:297

Used by 1 function | Uses 4 functions

WC_Session_Handler::nonce_user_logged_out()

Method: When a user is logged out, ensure they have a unique nonce by using the customer/session ID.

Source: includes/class-wc-session-handler.php:314

Used by 0 functions | Uses 2 functions
1 2 3 Next »
Proudly powered by WordPress