bbp_forums_url( string $path = '/' )

Ouput the forum URL

Description

Parameters

$path

(string) (Optional) Additional path with leading slash

Default value: '/'

Source

File: bp-forums/common/template.php

function bbp_forums_url( $path = '/' ) {
	echo esc_url( bbp_get_forums_url( $path ) );
}

Changelog

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