bp_document_clear_cache_for_document( BP_Document $document )
Clear a cached document item when that item is updated.
Description
Parameters
- $document
-
(Required) Document object.
Source
File: bp-document/bp-document-cache.php
function bp_document_clear_cache_for_document( $document ) { wp_cache_delete( $document->id, 'bp_document' ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.4.0 | 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.