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' ) ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |