wpseek.com
A WordPress-centric search engine for devs and theme authors



is_subdomain_install › WordPress Function

Since3.0.0
Deprecatedn/a
is_subdomain_install ( No parameters )
Returns:
  • (bool) True if subdomain configuration is enabled, false otherwise.
Defined at:
Codex:

Whether a subdomain configuration is enabled.



Source

function is_subdomain_install() {
	if ( defined( 'SUBDOMAIN_INSTALL' ) ) {
		return SUBDOMAIN_INSTALL;
	}

	return ( defined( 'VHOST' ) && 'yes' === VHOST );
}