Home › Forums › Front End PM PRO › Group message with password › Reply To: Group message with password
April 13, 2020 at 9:12 pm
#36555
Shamim Hasan
Keymaster
add following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_get_all_groups', function( $groups ){
if( ! fep_is_user_admin() ){
unset( $groups[ 7930 ] );
}
return $groups;
});
This group will be hidden for users who are not admin.
If you want to hide for other user also let me know their user id or role.
Let me know.