[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-members/ -> bp-members-cache.php (summary)

Caching functions specific to BuddyPress Members.

File Size: 75 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  bp_members_prefetch_member_type()
  bp_members_clear_member_type_cache()
  bp_members_reset_activity_cache_incrementor()

Functions
Functions that are not part of a class:

bp_members_prefetch_member_type( BP_User_Query $bp_user_query )   X-Ref
Pre-fetch member type data when initializing a Members loop.

param: BP_User_Query $bp_user_query BP_User_Query object.
since: 2.2.0

bp_members_clear_member_type_cache( $user_id )   X-Ref
Clear the member_type cache for a user.

Called when the user is deleted or marked as spam.

param: int $user_id ID of the deleted user.
since: 2.2.0

bp_members_reset_activity_cache_incrementor()   X-Ref
Invalidate activity caches when a user's last_activity value is changed.

return: bool True on success, false on failure.
since: 2.7.0



Generated: Wed Nov 13 01:01:39 2019 Cross-referenced by PHPXref 0.7.1