WC_Session_Handler::get_cache_prefix()privateWC 1.0

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

{} It's a method of the class: WC_Session_Handler{}

No Hooks.

Return

String.

Usage

// private - for code of main (parent) class only
$result = $this->get_cache_prefix();

Code of WC_Session_Handler::get_cache_prefix() WC 6.9.4

private function get_cache_prefix() {
	return WC_Cache_Helper::get_cache_prefix( WC_SESSION_CACHE_GROUP );
}