apply_filters( 'bp_core_set_uri_globals_member_slug', string $member_slug )
Filter the portion of the URI that is the displayed user’s slug.
Description
Eg. example.com/ADMIN (when root profiles is enabled) example.com/members/ADMIN (when root profiles isn’t enabled)
ADMIN would be the displayed user’s slug.
Parameters
- $member_slug
-
(string)
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.6.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.