bp_groups_delete_group_delete_all_notifications( int $group_id )

Remove all notifications for any member belonging to a specific group.

Parameters Parameters


(int) (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 );

Top ↑

Changelog Changelog

Version Description
1.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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