bp_document_clear_cache_for_folder( BP_Document_Folder $folder )
Clear a cached folder item when that item is updated.
Description
Parameters
- $folder
-
(Required) Folder object.
Source
File: bp-document/bp-document-cache.php
function bp_document_clear_cache_for_folder( $folder ) { wp_cache_delete( $folder->id, 'bp_document_folder' ); }
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.