Disable email to group


Home Forums Front End PM PRO Disable email to group

This topic is: Not Resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20883
    Dawson College
    Participant

    Hey there,

    So now that messages are flowing, also the email is flowing into the entire group.

    Is there a way to disable all email to a group of people who are automatically added in.

    I know there are user settings. Can I just override that?

    Thank you.

    #20889
    shamim
    Keymaster

    You want to change default value to unchecked so that user can check that if they want or want to unchecked so that they cannot check and will not get email?

    #20892
    Dawson College
    Participant

    Yes.

    That sounds about right.

    #20921
    shamim
    Keymaster

    add following code in your theme’s ( child theme’s if any) functions.php

    add_filter('fep_get_user_option', function( $value, $option, $default, $userid, $is_default ){
        if( 'allow_emails' == $option && $is_default ){
            $value = 0;
        }
        return $value;
    }, 10, 5);
    
Viewing 4 posts - 1 through 4 (of 4 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.