Dev Resources

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

WC_Session_Handler::set_session_expiration()

Method: Set session expiration.

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

Used by 1 function | Uses 0 functions

WC_Session_Handler::generate_customer_id()

Method: Generate a unique customer ID for guests, or return user ID if logged in.

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

Used by 2 functions | Uses 0 functions

WC_Session_Handler::get_session_cookie()

Method: Get the session cookie, if set. Otherwise return false.

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

Used by 1 function | Uses 0 functions

WC_Session_Handler::get_session_data()

Method: Get session data.

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

Used by 1 function | Uses 2 functions

WC_Session_Handler::get_cache_prefix()

Method: Gets a cache prefix. This is used in session names so the entire cache can be invalidated with 1 function call.

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

Used by 3 functions | Uses 1 function

WC_Session_Handler::init()

Method: Init hooks and session data.

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

Used by 0 functions | Uses 1 function

WC_Session_Handler::init_session_cookie()

Method: Setup cookie and customer ID.

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

Used by 1 function | Uses 7 functions

WC_Session_Handler::set_customer_session_cookie()

Method: Sets the session cookie on-demand (usually after adding an item to the cart).

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

Used by 1 function | Uses 2 functions

WC_Session_Handler::use_secure_cookie()

Method: Should the session cookie be secure?

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

Used by 2 functions | Uses 1 function

WC_Session_Handler::has_session()

Method: Return true if the current user has an active session, i.e. a cookie to retrieve values.

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

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