WC_Data::generate_meta_cache_key( int|string $id, string $cache_group )
Generate cache key from id and group.
Description Description
Parameters Parameters
- $id
-
(Required) Object ID.
- $cache_group
-
(Required) Group name use to store cache. Whole group cache can be invalidated in one go.
Return Return
(string) Meta cache key.
Source Source
File: includes/abstracts/abstract-wc-data.php
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |