bp_media_clear_cache_for_media( BP_Media $media )
Clear a cached media item when that item is updated.
Description
Parameters
- $media
-
(Required) Media object.
Source
File: bp-media/bp-media-cache.php
function bp_media_clear_cache_for_media( $media ) { wp_cache_delete( $media->id, 'bp_media' ); }
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.