bp_notices_clear_cache( BP_Messages_Notice $notice )
Invalidate cache for notices.
Description Description
Currently, invalidates active notice cache.
Parameters Parameters
- $notice
-
(Required) Notice that was saved.
Source Source
File: bp-messages/bp-messages-cache.php
function bp_notices_clear_cache( $notice ) { wp_cache_delete( 'active_notice', 'bp_messages' ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |