bp_get_settings_root_slug()

Return the settings component root slug.

Description

Return

(string)

Source

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

54
55
56
57
58
59
60
61
62
63
64
function bp_get_settings_root_slug() {
 
    /**
     * Filters the Settings component root slug.
     *
     * @since BuddyPress 1.5.0
     *
     * @param string $root_slug Settings component root slug.
     */
    return apply_filters( 'bp_get_settings_root_slug', buddypress()->settings->root_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.