bp_get_profile_slug()
Return the profile component slug.
Description Description
Return Return
(string)
Source Source
File: bp-members/bp-members-template.php
31 32 33 34 35 36 37 38 39 40 41 | 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. |