Home › Forums › Front End PM PRO › Allow Only Admin to Message Groups › Reply To: Allow Only Admin to Message Groups
April 13, 2020 at 12:43 pm
#36544
Shamim Hasan
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.