Home › Forums › Front End PM PRO › Members not able to email other groups › Reply To: Members not able to email other groups
January 7, 2019 at 7:03 pm
#20497
Shamim Hasan
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.