Open johnbillion opened 3 years ago
We're using WP User Profiles along with WP User Groups on Multisite.
If there are no groups registered for a site then the Groups tab still shows up but it's empty. Ideally it should only be registered if there are groups to show in it.
Fixed this locally by using the wp_user_groups_add_profile_section filter and unsetting the groups section.
wp_user_groups_add_profile_section
We're using WP User Profiles along with WP User Groups on Multisite.
If there are no groups registered for a site then the Groups tab still shows up but it's empty. Ideally it should only be registered if there are groups to show in it.