bbp_get_forum_slug( $default = 'forum' )

Return the single forum slug

Description

Return

(string)

Source

File: bp-forums/core/options.php

function bbp_get_forum_slug( $default = 'forum' ) {;
	return apply_filters( 'bbp_get_root_slug', bbp_maybe_get_root_slug() . get_option( '_bbp_forum_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.