bp_groups_reset_cache_incrementor()
Reset cache incrementor for the Groups component.
Description Description
This function invalidates all cached results of group queries, whenever one of the following events takes place:
- A group is created or updated.
- A group is deleted.
- A group’s metadata is modified.
Return Return
(bool) True on success, false on failure.
Source Source
File: bp-groups/bp-groups-cache.php
function bp_groups_reset_cache_incrementor() {
return bp_core_reset_incrementor( 'bp_groups' );
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |