bp_get_search_slug()
Return the search slug.
Description
Return
(string) The search slug. Default: 'search'.
Source
File: bp-core/bp-core-template.php
function bp_get_search_slug() {
/**
* Filters the search slug.
*
* @since BuddyPress 1.5.0
*
* @const string BP_SEARCH_SLUG The search slug. Default "search".
*/
return apply_filters( 'bp_get_search_slug', BP_SEARCH_SLUG );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.5.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.