# is_multisite()

URL: https://chugunov.pro/api-wordpress/functions/is_multisite/
Проверено на WordPress 6.9, обновлено 06.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией WordPress.

Тип: функция.
Появился в версии: 3.0.0.

## Сигнатура

```php
is_multisite(): bool
```

## Описание

Определяет, включён ли Multisite.

## Возвращаемое значение

`bool`

## Исходный код

Файл: `wp-includes/load.php:1448`

```php
function is_multisite() {
	if ( defined( 'MULTISITE' ) ) {
		return MULTISITE;
	}

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

	return false;
}
```

## История изменений

- 3.0.0 — Introduced.

## Связанные

Используется в: `WP_Debug_Data::get_wp_core`, `WP_Debug_Data::get_wp_paths_sizes`, [`user_can_for_site`](https://chugunov.pro/api-wordpress/functions/user_can_for_site/), [`current_user_can_for_site`](https://chugunov.pro/api-wordpress/functions/current_user_can_for_site/), [`wp_prime_network_option_caches`](https://chugunov.pro/api-wordpress/functions/wp_prime_network_option_caches/), `WP_Plugin_Dependencies::check_plugin_dependencies_during_ajax`, `WP_Plugin_Dependencies::display_admin_notice_for_unmet_dependencies`, `WP_Plugins_List_Table::add_dependencies_to_dependent_plugin_row`, [`wp_is_password_reset_allowed_for_user`](https://chugunov.pro/api-wordpress/functions/wp_is_password_reset_allowed_for_user/), `WP_Site_Health::should_suggest_persistent_object_cache`, [`wp_maybe_update_user_counts`](https://chugunov.pro/api-wordpress/functions/wp_maybe_update_user_counts/), [`wp_update_user_counts`](https://chugunov.pro/api-wordpress/functions/wp_update_user_counts/), [`wp_is_large_user_count`](https://chugunov.pro/api-wordpress/functions/wp_is_large_user_count/), [`deactivated_plugins_notice`](https://chugunov.pro/api-wordpress/functions/deactivated_plugins_notice/), `WP_REST_Site_Health_Controller::register_routes`, `WP_REST_Application_Passwords_Controller::get_user`, `WP_REST_Plugins_Controller::plugin_status_permission_check`, `WP_REST_Plugins_Controller::handle_plugin_status`, `WP_REST_Plugins_Controller::get_item_schema`, `WP_REST_Plugins_Controller::get_collection_params`, `WP_REST_Plugins_Controller::check_read_permission`, `WP_REST_Plugins_Controller::register_routes`, [`wp_maybe_grant_site_health_caps`](https://chugunov.pro/api-wordpress/functions/wp_maybe_grant_site_health_caps/), `WP_Recovery_Mode::is_network_plugin`, `WP_Fatal_Error_Handler::display_default_error_template`, `WP_Fatal_Error_Handler::handle`, `WP_Site_Health::get_test_plugin_version`, `WP_Site_Health::get_test_theme_version`, [`validate_plugin_requirements`](https://chugunov.pro/api-wordpress/functions/validate_plugin_requirements/), `WP_Site_Health_Auto_Updates::test_wp_version_check_attached`, [`wp_ajax_health_check_get_sizes`](https://chugunov.pro/api-wordpress/functions/wp_ajax_health_check_get_sizes/), [`is_site_meta_supported`](https://chugunov.pro/api-wordpress/functions/is_site_meta_supported/), [`populate_network_meta`](https://chugunov.pro/api-wordpress/functions/populate_network_meta/), [`get_oembed_response_data_for_url`](https://chugunov.pro/api-wordpress/functions/get_oembed_response_data_for_url/), `WP_REST_Attachments_Controller::check_upload_size`, `WP_Roles::get_roles_data`, [`get_main_site_id`](https://chugunov.pro/api-wordpress/functions/get_main_site_id/), `WP_Customize_Themes_Panel::content_template`, `WP_Customize_Themes_Section::render_template`, [`delete_expired_transients`](https://chugunov.pro/api-wordpress/functions/delete_expired_transients/).

Оригинал в официальной документации: https://developer.wordpress.org/reference/functions/is_multisite/
