bp_members_reset_activity_cache_incrementor()

Invalidate activity caches when a user’s last_activity value is changed.

Description

Return

(bool) True on success, false on failure.

Source

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

function bp_members_reset_activity_cache_incrementor() {
	return bp_core_reset_incrementor( 'bp_activity_with_last_activity' );
}

Changelog

Changelog
Version Description
BuddyPress 2.7.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.