bp_media_album_reset_cache_incrementor()
Reset cache incrementor for the Album.
Description
Called whenever an album item is created, updated, or deleted, this function effectively invalidates all cached results of album queries.
Return
(bool) True on success, false on failure.
Source
File: bp-media/bp-media-cache.php
function bp_media_album_reset_cache_incrementor() { return bp_core_reset_incrementor( 'bp_media_album' ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.1.5 | 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.