# remove_theme_support()

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

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

## Сигнатура

```php
remove_theme_support( string $feature ): bool|void
```

## Описание

Должна вызываться в файле functions.php темы. Обычно используется дочерними темами для переопределения поддержки родительской темы.
См. alsoadd_theme_support()

## Параметры

- `$feature` `string` — обязательный. Удаляемая возможность. Список возможных значений см. в add_theme_support().

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

`bool|void`

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

Файл: `wp-includes/theme.php:3067`

```php
function remove_theme_support( $feature ) {
	// Do not remove internal registrations that are not used directly by themes.
	if ( in_array( $feature, array( 'editor-style', 'widgets', 'menus' ), true ) ) {
		return false;
	}

	return _remove_theme_support( $feature );
}
```

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

- 3.0.0 — Introduced.

## Связанные

Используется в: [`_remove_theme_support`](https://chugunov.pro/api-wordpress/functions/_remove_theme_support/), [`remove_custom_image_header`](https://chugunov.pro/api-wordpress/functions/remove_custom_image_header/), [`remove_custom_background`](https://chugunov.pro/api-wordpress/functions/remove_custom_background/).

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