ホーム > 関数 > 関数 is_multisite() 2014/11/20 2014/12/05 目次1 マルチサイトか調べる 関数の定義2 定義ファイル :/blog/wp-includes/load.php3 呼出元 :/blog/wp-settings.phpマルチサイトか調べる 関数の定義定義ファイル :/blog/wp-includes/load.php呼出元 :/blog/wp-settings.phpPHP function is_multisite() { if ( defined( 'MULTISITE' ) ) return MULTISITE; if ( defined( 'SUBDOMAIN_INSTALL' ) || defined( 'VHOST' ) || defined( 'SUNRISE' ) ) return true; return false; }123456789function is_multisite() { if ( defined( 'MULTISITE' ) ) return MULTISITE; if ( defined( 'SUBDOMAIN_INSTALL' ) || defined( 'VHOST' ) || defined( 'SUNRISE' ) ) return true; return false;} - 関数