bbp_show_on_root( $default = 'forums' )

Return the search slug

Description

Return

(string)

Source

File: bp-forums/core/options.php

function bbp_show_on_root( $default = 'forums' ) {
	return apply_filters( 'bbp_show_on_root', get_option( '_bbp_show_on_root', $default ) );
}

Changelog

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