bbp_get_root_slug( $default = 'forums' )

Return the root slug

Description

Return

(string)

Source

File: bp-forums/core/options.php

452
453
454
function bbp_get_root_slug( $default = 'forums' ) {
    return apply_filters( 'bbp_get_root_slug', get_option( '_bbp_root_slug', $default ) );
}

Changelog

Changelog
Version Description
bbPress (r3759) 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.