is_subdomain_install()
Whether or not if subdomain install.
Description
See also
Return
(bool)
Source
File: bp-core/bp-core-wpabstraction.php
function is_subdomain_install() { if ( ( defined( 'VHOST' ) && 'yes' == VHOST ) || ( defined( 'SUBDOMAIN_INSTALL' ) && SUBDOMAIN_INSTALL ) ) return true; return false; }
Changelog
Version | Description |
---|---|
BuddyPress 1.2.5.1 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.