bbp_get_topics_url( string $path = '/' )

Return the forum URL

Description

Parameters

$path

(string) (Optional) Additional path with leading slash

Default value: '/'

Return

(The) URL to the topics archive

Source

File: bp-forums/common/template.php

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