[ Index ]

PHP Cross Reference of BuddyPress




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

Caching functions specific to BuddyPress Members.

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

Defines 6 functions


Functions that are not part of a class:

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

since: 2.2.0
param: BP_User_Query $bp_user_query BP_User_Query object.

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.

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

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

bp_members_delete_signup_cache( $signup_id = 0 )   X-Ref
Bust signup caches when editing or deleting.

since: 10.0.0
param: int $signup_id The ID of the signup affected.

bp_members_delete_signup_cache_multiples( $signup_ids = array()   X-Ref
Bust signup caches for arrays of signup IDs.

since: 10.0.0
param: array $signup_ids The IDs of the signups affected.

bp_members_reset_signup_cache_incrementor()   X-Ref
Reset cache incrementor for BP_Signups.

This function invalidates all cached results of BP_Signup queries,
whenever one of the following events takes place:
- A record is created or updated.
- A record is deleted.

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

Generated: Wed Jul 24 01:00:53 2024 Cross-referenced by PHPXref 0.7.1