bp_members_reset_activity_cache_incrementor

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

Description

bp_members_reset_activity_cache_incrementor(); 

Usage

  1. if ( !function_exists( 'bp_members_reset_activity_cache_incrementor' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-members/bp-members-cache.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_members_reset_activity_cache_incrementor(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-members/bp-members-cache.php  
  1. function bp_members_reset_activity_cache_incrementor() { 
  2. return bp_core_reset_incrementor( 'bp_activity_with_last_activity' );