Skip to:
Content
Pages
Categories
Search
Top
Bottom

Regarding Group Emails


  • sitesfromash
    Participant

    @sitesfromash

    Hi. I am currently running BuddyPress Nouveau Template and would like to know if there is a way for me to disable group leaders from being able to send out emails to the group members when details regarding the group have been updated or the name of the group has changed. I would also like to remove the checkbox which indicated that group leaders are able to do this. Thanks.

Viewing 1 replies (of 1 total)

  • Venutius
    Moderator

    @venutius

    You can add the following code to your child themes functions.php:

    function venutius_remove_notify_group_members() {
    	remove_action( 'groups_custom_group_fields_editable', 'bp_nouveau_add_notify_group_members_checkbox', 20 );
    }
    
    add_action( 'groups_custom_group_fields_editable', 'venutius_remove_notify_group_members', 10 );
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar