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



wp_cache_flush_group › WordPress Function

Od6.1.0
Przestarzałyn/a
wp_cache_flush_group ( $group )
Parametry:
  • (string) $group Name of group to remove from cache.
    Wymagane: Tak
Zobacz:
  • WP_Object_Cache::flush_group()
Powrót:
  • (bool) True if group was flushed, false otherwise.
Zdefiniowane na:
Codex:

Removes all cache items in a group, if the object cache implementation supports it.

Before calling this function, always check for group flushing support using the wp_cache_supports( 'flush_group' ) function.


Źródło

function wp_cache_flush_group( $group ) {
	global $wp_object_cache;

	return $wp_object_cache->flush_group( $group );
}