WordPress at a glance
function is not described

get_clean_basedomain() WP 3.0.0

Get base domain of network.

No Hooks.

Return

String. Base domain.

Usage

get_clean_basedomain();

Code of get clean basedomain: wp-admin/includes/network.php VER 5.0.3

<?php
function get_clean_basedomain() {
	if ( $existing_domain = network_domain_check() )
		return $existing_domain;
	$domain = preg_replace( '|https?://|', '', get_option( 'siteurl' ) );
	if ( $slash = strpos( $domain, '/' ) )
		$domain = substr( $domain, 0, $slash );
	return $domain;
}