bp_root_domain()

Output the “root domain”, the URL of the BP root blog.

Description

Source

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

function bp_root_domain() {
	echo bp_get_root_domain();
}

Changelog

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