bp_is_forums_component()

Check whether the current page is part of the Forums component.

Description

Return

(bool) True if the current page is part of the Forums component.

Source

File: bp-core/bp-core-template.php

function bp_is_forums_component() {
	return (bool) bp_is_current_component( 'forums' );
}

Changelog

Changelog
Version Description
BuddyPress 3.0.0 Required for bbPress 2 integration. BuddyPress 3.0.0 Required for bbPress 2 integration.
BuddyPress 1.5.0 Introduced.