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