bp_groups_delete_group_delete_all_notifications( int $group_id )
Remove all notifications for any member belonging to a specific group.
Description Description
Parameters Parameters
- $group_id
-
(Required) ID of the group.
Source Source
File: bp-groups/bp-groups-notifications.php
function bp_groups_delete_group_delete_all_notifications( $group_id ) { if ( bp_is_active( 'notifications' ) ) { bp_notifications_delete_all_notifications_by_type( $group_id, buddypress()->groups->id ); } }
Changelog Changelog
Version | Description |
---|---|
1.9.0 | Introduced. |