Embed URL


SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Buddypress - Change Groups slug

View change_buddypress_groups_slug.php
1 2 3 4 5 6 7 8
// add this code to functions.php
// then edit groups page from wpadmin pages ( change permalink slug to "your_new_slug_for_groups" ) and save!
add_filter('bp_get_groups_root_slug', 'bp_change_groups_root_slug');
function bp_change_groups_root_slug( $group ){
return "your_new_slug_for_groups"; //For example "gatherings"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.