Support » Plugin: BP Group Documents » Change default email notifications from send to don't send

  • Resolved PeterHatch

    (@peterhatch)


    Took me a while to figure this out so I thought I’d share

    BP Group Documents sends immediate email notification of document uploads to all group members by default unless they have saved a no preference in their email settings. This includes members who have never saved a preference.

    If you want to change the default to only sending to members who have saved a yes preference then change around line 107 in notifications.php

    if ( in_array( 'no' , $member_notif_prefs ) ) {
                    continue ;
                }

    to

    if ( ! in_array( 'yes' , $member_notif_prefs ) ) {
                    continue ;
                }

    this changes argument
    members preference equal to no don’t send
    to
    to members preference not equal to yes don’t send

    Simple , neat and cuts out a whole load of unsolicited email.

    https://wordpress.org/plugins/bp-group-documents/

  • The topic ‘Change default email notifications from send to don't send’ is closed to new replies.