Removes all cache items in a group.
$groupstringrequired
public function flush_group( $group ) {
unset( $this->cache[ $group ] );
return true;
}
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_object_cache/flush_group