wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_cache_get_multiple › WordPress Function

Od5.5.0
Przestarzałyn/a
wp_cache_get_multiple ( $keys, $group = '', $force = false )
Parametry: (3)
  • (array) $keys Array of keys under which the cache contents are stored.
    Wymagane: Tak
  • (string) $group Optional. Where the cache contents are grouped. Default empty.
    Wymagane: Nie
    Domyślny: (puste)
  • (bool) $force Optional. Whether to force an update of the local cache from the persistent cache. Default false.
    Wymagane: Nie
    Domyślny: false
Zobacz:
  • WP_Object_Cache::get_multiple()
Powrót:
  • (array) Array of return values, grouped by key. Each value is either the cache contents on success, or false on failure.
Zdefiniowane na:
Codex:

Retrieves multiple values from the cache in one call.



Źródło

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

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