Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,887
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
Hi,
leave groups & request membership use the same button, depending the context. See reference.
Try this if you use only private groups
function xyz() {
global $groups_template;
if ( bp_is_active(group) )
return '';
}
add_filter( 'bp_get_group_join_button', 'xyz' );
Reference: wp-content\plugins\buddypress\bp-groups\bp-groups-template.php:2747