This function has been deprecated. BuddyPress 2.1.0 instead.

bp_blogs_get_subdomain_base()

Return the base URL for subdomain installations of WordPress Multisite.

Description

Return

(string) The base URL - eg, 'example.com' for site_url() example.com or www.example.com.

Source

File: bp-core/deprecated/buddypress/2.1.php

function bp_blogs_get_subdomain_base() {
	_deprecated_function( __FUNCTION__, '2.1', 'bp_signup_get_subdomain_base()' );
	return bp_signup_get_subdomain_base();
}

Changelog

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