Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




is_multisite [ WordPress Function ]

is_multisite ( No parameters )
Returns:
  • (bool) True if multisite is enabled, false otherwise.
Defined at:



Whether Multisite support is enabled

Source


<?php
function is_multisite() {
    if ( 
defined'MULTISITE' ) )
        return 
MULTISITE;

    if ( 
defined'SUBDOMAIN_INSTALL' ) || defined'VHOST' ) || defined'SUNRISE' ) )
        return 
true;

    return 
false;
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics