wp_cache_get_multiple
wp_cache_get_multiple ( $keys, $group = '', $force = false )
Parameters:- (array) keys Array of keys under which the cache contents are stored.
- (string) group Optional. Where the cache contents are grouped. Default empty.
- (bool) force Optional. Whether to force an update of the local cache from the persistent cache. Default false.
See:- WP_Object_Cache::get_multiple()
Returns:- (array) Array of return values, grouped by key. Each value is either the cache contents on success, or false on failure.
Defined at: - Introduced in WordPress: 5.5.0
- Deprecated in WordPress: —
Description
Retrieves multiple values from the cache in one call.