wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_cache_flush_group › WordPress Function

Since6.1.0
Deprecatedn/a
wp_cache_flush_group ( $group )
Parameters:
  • (string) $group Name of group to remove from cache.
    Required: Yes
See:
  • WP_Object_Cache::flush_group()
Returns:
  • (bool) True if group was flushed, false otherwise.
Defined at:
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_group_flush() function.


Source

function wp_cache_flush_group( $group ) {
	global $wp_object_cache;

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