bp_get_profile_slug()
Return the profile component slug.
Description
Return
(string)
Source
File: bp-members/bp-members-template.php
function bp_get_profile_slug() { /** * Filters the profile component slug. * * @since BuddyPress 2.4.0 * * @param string $slug Profile component slug. */ return apply_filters( 'bp_get_profile_slug', buddypress()->profile->slug ); }
Changelog
Version | Description |
---|---|
BuddyPress 2.4.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.