bbp_get_forums_url( string $path = '/' )

Return the forum URL

Description

Parameters

$path

(Optional) Additional path with leading slash

Default value: '/'

Source

File: bp-forums/common/template.php

	function bbp_get_forums_url( $path = '/' ) {
		return home_url( bbp_get_root_slug() . $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.