VHOST

The WordPress Core VHOST constant.

Value (string)

SUBDOMAIN_INSTALL ? 'yes' : 'no' 

Usage

  1. if ( defined( 'VHOST' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'VHOST' ); 
  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( 'VHOST', SUBDOMAIN_INSTALL ? 'yes' : 'no' ); 
  1. define( 'VHOST', 'no' );