wp_cache_set_multiple_salted
wp_cache_set_multiple_salted ( $data, $group, $salt, $expire = 0 )
Parameters:- (mixed) data Data to be stored in the cache for all keys.
- (string) group Group to which the cached data belongs.
- (string|string[]) salt The timestamp (or multiple timestamps if an array) indicating when the cache group(s) were last updated.
- (int) expire Optional. When to expire the cache contents, in seconds.
Default 0 (no expiration).
Returns:- (bool[]) Array of return values, grouped by key. Each value is either
true on success, or false on failure.
Defined at: - Introduced in WordPress: 6.9.0
- Deprecated in WordPress: —
Description
Stores multiple pieces of salted data in the cache.