WP_Object_Cache::flush_group( string $group ): true

In this article

Removes all cache items in a group.

Parameters

$groupstringrequired
Name of group to remove from cache.

Return

true Always returns true.

Source

public function flush_group( $group ) {
	unset( $this->cache[ $group ] );

	return true;
}

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.