Retrieves multiple values from the cache in one call.
Description
See also
Parameters
$keysarrayrequired- Array of keys under which the cache contents are stored.
$groupstringoptional- Where the cache contents are grouped.
Default:
'' $forcebooloptional- Whether to force an update of the local cache from the persistent cache.
Default:
false
Source
function wp_cache_get_multiple( $keys, $group = '', $force = false ) {
global $wp_object_cache;
return $wp_object_cache->get_multiple( $keys, $group, $force );
}
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.