wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_cache_get_multiple › WordPress Function

Seit5.5.0
Veraltetn/v
wp_cache_get_multiple ( $keys, $group = '', $force = false )
Parameter: (3)
  • (array) $keys Array of keys under which the cache contents are stored.
    Erforderlich: Ja
  • (string) $group Optional. Where the cache contents are grouped. Default empty.
    Erforderlich: Nein
    Standard: (leer)
  • (bool) $force Optional. Whether to force an update of the local cache from the persistent cache. Default false.
    Erforderlich: Nein
    Standard: false
Siehe:
  • WP_Object_Cache::get_multiple()
Gibt zurück:
  • (array) Array of return values, grouped by key. Each value is either the cache contents on success, or false on failure.
Definiert in:
Codex:

Retrieves multiple values from the cache in one call.



Quellcode

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

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