bp_nouveau_add_notify_group_members_checkbox()

Adds the “Notify group members of these changes” checkbox to the Manage > Details panel.

Description

See #7837 for background on why this technique is required.

Source

File: bp-templates/bp-nouveau/includes/groups/template-tags.php

function bp_nouveau_add_notify_group_members_checkbox() {
	printf( '<p class="bp-controls-wrap">
		<input type="checkbox" name="group-notify-members" id="group-notify-members" class="bs-styled-checkbox" value="1" />
		<label for="group-notify-members" class="bp-label-text">%s</label>
	</p>', esc_html__( 'Notify group members of these changes via email', 'buddyboss' ) );
}

Changelog

Changelog
Version Description
BuddyPress 4.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.