wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_cache_get_multiple › WordPress Function

Da5.5.0
Deprecaton/a
wp_cache_get_multiple ( $keys, $group = '', $force = false )
Parametri: (3)
  • (array) $keys Array of keys under which the cache contents are stored.
    Richiesto:
  • (string) $group Optional. Where the cache contents are grouped. Default empty.
    Richiesto: No
    Default: (vuoto)
  • (bool) $force Optional. Whether to force an update of the local cache from the persistent cache. Default false.
    Richiesto: No
    Default: false
Vedi:
  • WP_Object_Cache::get_multiple()
Ritorna:
  • (array) Array of return values, grouped by key. Each value is either the cache contents on success, or false on failure.
Definito a:
Codex:

Retrieves multiple values from the cache in one call.



Sorgenti

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

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