WC_Session_Handler::get_cache_prefix()
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() WC Session Handler::get cache prefix code WC 8.7.0
private function get_cache_prefix() { return WC_Cache_Helper::get_cache_prefix( WC_SESSION_CACHE_GROUP ); }