VHOST
The WordPress Core VHOST constant.
Value (string)
SUBDOMAIN_INSTALL ? 'yes' : 'no'
Usage
if ( defined( 'VHOST' ) ) { // grab the value $value = constant( 'VHOST' ); if ( !empty( $value ) ) { // go forth and prosper... } }
Defined (2)
The constant is defined in the following location(s).
- /wp-includes/ms-default-constants.php
- define( 'VHOST', SUBDOMAIN_INSTALL ? 'yes' : 'no' );
- define( 'VHOST', 'no' );