apply_filters( 'bp_is_root_blog', bool $is_root_blog )

Filters whether or not we’re on the root blog.

Description

Parameters

$is_root_blog

(bool) Whether or not we're on the root blog.

Source

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

Changelog

Changelog
Version Description
BuddyPress 1.5.0 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.