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.

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();

WC_Session_Handler::get_cache_prefix() code WC 8.6.1

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