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.


Top ↑

Return Return

(string) Meta cache key.


Top ↑

Source Source

File: includes/abstracts/abstract-wc-data.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.