bp_media_clear_cache_for_album( BP_Media_Album $album )
Clear a cached album item when that item is updated.
Description
Parameters
- $album
-
(Required) Album object.
Source
File: bp-media/bp-media-cache.php
function bp_media_clear_cache_for_album( $album ) { wp_cache_delete( $album->id, '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.