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.
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 ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |