SUBDOMAIN_INSTALL

The WordPress Core SUBDOMAIN INSTALL constant.

Value (string)

'yes' == VHOST 

Usage

  1. if ( defined( 'SUBDOMAIN_INSTALL' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'SUBDOMAIN_INSTALL' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (2)

The constant is defined in the following location(s).

/wp-includes/ms-default-constants.php  
  1. define( 'SUBDOMAIN_INSTALL', 'yes' == VHOST ); 
  1. define( 'SUBDOMAIN_INSTALL', false );