WP_Object_Cache::flush_group( string $group )
Removes all cache items in a group.
Parameters
- $group
-
(Required) Name of group to remove from cache.
Return
(true) Always returns true.
Source
File: wp-includes/class-wp-object-cache.php
public function flush_group( $group ) {
unset( $this->cache[ $group ] );
return true;
}
Changelog
Version | Description |
---|---|
6.1.0 | Introduced. |