bp_get_search_slug()

Return the search slug.

Description

Return

(string) The search slug. Default: 'search'.

Source

File: bp-core/bp-core-template.php

1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
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

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.