WordPress at Your Fingertips
function is not described

WC_Session_Handler::get_cache_prefix() private WC 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.




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

Code of WC_Session_Handler::get_cache_prefix() WC 5.9.0

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