wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



is_subdomain_install › WordPress Function

Da3.0.0
Deprecaton/a
is_subdomain_install ( Nessun parametro )
Ritorna:
  • (bool) True if subdomain configuration is enabled, false otherwise.
Definito a:
Codex:

Whether a subdomain configuration is enabled.



Sorgenti

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

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