ActionScheduler_DBStore::get_group_cache_key
Translate a group slug into a valid (non-empty) object cache key.
Method of the class: ActionScheduler_DBStore{}
No Hooks.
Returns
string.
Usage
// private - for code of main (parent) class only $result = $this->get_group_cache_key( $slug ): string;
- $slug(string) (required)
- Group slug.
ActionScheduler_DBStore::get_group_cache_key() ActionScheduler DBStore::get group cache key code WC 11.3.0
private function get_group_cache_key( string $slug ): string {
return '' !== $slug ? $slug : self::GROUP_IDS_DEFAULT_CACHE_KEY;
}