Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: members slug

if BP_ENABLE_ROOT_PROFILES is set then urls do not include the BP_MEMBERS_SLUG (ie, http://whatever.com/username )

function my_get_members_base()
global $bp;

if ( !defined( ‘BP_ENABLE_ROOT_PROFILES’ ) )
$domain = $bp->root_domain . ‘/’ . BP_MEMBERS_SLUG . ‘/’;
else
$domain = $bp->root_domain . ‘/’;

return $domain;
}

Skip to toolbar