bp_nouveau_add_notify_group_members_checkbox()

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


Description Description

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


Source 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">
		<label for="group-notify-members" class="bp-label-text">
			<input type="checkbox" name="group-notify-members" id="group-notify-members" value="1" /> %s
		</label>
	</p>', esc_html__( 'Notify group members of these changes via email', 'buddypress' ) );
}

Top ↑

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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