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:

Description

Retrieves multiple values from the cache in one call.

Related Functions

wp_cache_set_multiple, wp_cache_delete_multiple, wp_cache_add_multiple, wp_cache_get, wp_cache_get_last_changed

Top Google Results

User discussions

wpseek mobile