Allow Only Admin to Message Groups


Home Forums Front End PM PRO Allow Only Admin to Message Groups

This topic is: Not Resolved

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36524
    Peter White
    Participant

    Hello,
    How do I allow only admins to message groups? As the admin, when I type the group name in the recipient box, no suggestions come up. I’ve already added the group and a user to the group.

    #36544
    shamim
    Keymaster

    Please add yourself to every group and add following code in your theme’s (child theme’s if you are using) functions.php

    add_filter( 'fep_get_option', function( $value, $option ){
        if( 'can-send-to-group' == $option ){
            if( fep_is_user_admin() ){
                $value = true;
            } else {
                $value = false;
            }
        }
        return $value;
    }, 10, 2 );
    

    Then you will see an option to send message to group when sending message.

Viewing 2 posts - 1 through 2 (of 2 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.