wp_cache_flush_group
wp_cache_flush_group ( $group )
Parameters:- (string) group Name of group to remove from cache.
See:- WP_Object_Cache::flush_group()
Returns:- (bool) True if group was flushed, false otherwise.
Defined at: - Introduced in WordPress: 6.1.0
- Deprecated in WordPress: —
Description
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.