wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_cache_get_multiple › WordPress Function

Since5.5.0
Deprecatedn/a
wp_cache_get_multiple ( $keys, $group = '', $force = false )
Parameters: (3)
  • (array) $keys Array of keys under which the cache contents are stored.
    Required: Yes
  • (string) $group Optional. Where the cache contents are grouped. Default empty.
    Required: No
    Default: (empty)
  • (bool) $force Optional. Whether to force an update of the local cache from the persistent cache. Default false.
    Required: No
    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:
Codex:

Retrieves multiple values from the cache in one call.



Source

function wp_cache_get_multiple( $keys, $group = '', $force = false ) {
	global $wp_object_cache;

	return $wp_object_cache->get_multiple( $keys, $group, $force );
}