Reply To: Members not able to email other groups


Home Forums Front End PM PRO Members not able to email other groups Reply To: Members not able to email other groups

#20497
shamim
Keymaster

add following code in your theme’s (child theme’s if you are using) functions.php

add_filter( 'fep_get_user_groups', function( $user_groups, $user_id ){
    $user_groups['group_slug'] = 'Group Name';
    return $user_groups;
}, 10, 2);

You can pass any group here. Users will be able to send message to those groups.