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.


Top ↑

Source Source

File: bp-groups/bp-groups-cache.php

function bp_groups_reset_cache_incrementor() {
	return bp_core_reset_incrementor( 'bp_groups' );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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