bp_notices_clear_cache( BP_Messages_Notice $notice )

Invalidate cache for notices.


Description Description

Currently, invalidates active notice cache.


Top ↑

Parameters Parameters

$notice

(BP_Messages_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' );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.