bp_notifications_clear_all_for_user_cache_after_save( BP_Notifications_Notification $n )

Invalidate ‘all_for_user_’ cache when saving.


Description Description


Parameters Parameters

$n

(Required) Notification object.


Top ↑

Source Source

File: bp-notifications/bp-notifications-cache.php

function bp_notifications_clear_all_for_user_cache_after_save( BP_Notifications_Notification $n ) {
	bp_notifications_clear_all_for_user_cache( $n->user_id );
}

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.