WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/ms subdomain constants

This page is marked as incomplete. You can help Codex by expanding it.

Description

Defines Multisite subdomain constants and handles warnings and notices.

Usage

<?php ms_subdomain_constants() ?>

Parameters

This function does not accept any parameters

Return Value

This function does not return a value

Examples


Notes

VHOST is deprecated in favor of SUBDOMAIN_INSTALL, which is a boolean.

On first call, the constants are checked and defined. On second call, we will have translations loaded and can trigger warnings easily.

Change Log

Since: 3.0.0

Source File

ms_subdomain_constants() is located in wp-includes/ms-default-constants.php

Related

 

See also index of Function Reference and index of Template Tags.