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.


Top ↑

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.