@nehilmehta
4 years, 1 month ago
Hi,
You can use below custom code to select hidden as default radio button
function rizen_make_new_group_hidden( $group_ref_array ) { if ( current_user_can( ‘manage_options’ ) ) { return $group_ref_array; }
$group_ref_array->status = ‘hidden’;
return $group_ref_array; } add_filter( ‘groups_group_before_save’, ‘rizen_make_new_group_hidden’ );
I am still looking to get the default option to select the radio button to create group by all members. If you have any luck, pls. share.
Thanks