is_subdomain_install(): bool

Whether a subdomain configuration is enabled.

Return

bool True if subdomain configuration is enabled, false otherwise.

Source

File: wp-includes/ms-load.php.

View all references

function is_subdomain_install() {

if ( defined( "SUBDOMAIN_INSTALL" ) ) {

return SUBDOMAIN_INSTALL;

}

return ( defined( "VHOST" ) && "yes" === VHOST );

}

Leave a Reply

Your email address will not be published. Required fields are marked *