bbp_include_root_slug( $default = 1 )

Are we including the root slug in front of forum pages?

Description

Return

(bool)

Source

File: bp-forums/core/options.php

function bbp_include_root_slug( $default = 1 ) {
	return (bool) apply_filters( 'bbp_include_root_slug', (bool) get_option( '_bbp_include_root', $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.