is_multisite()

If Multisite is enabled.


Return

(bool) True if Multisite is enabled, false otherwise.


Source

File: wp-includes/load.php

function is_multisite() {
	if ( defined( 'MULTISITE' ) )
		return MULTISITE;

	if ( defined( 'SUBDOMAIN_INSTALL' ) || defined( 'VHOST' ) || defined( 'SUNRISE' ) )
		return true;

	return false;
}


Changelog

Changelog
Version Description
WP-3.0.0 Introduced.