# remove_post_type_support()

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

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

## Сигнатура

```php
remove_post_type_support( string $post_type, string $feature )
```

## Описание

Удаляет поддержку возможности у типа записи.

## Параметры

- `$post_type` `string` — обязательный. Тип записи, у которого удаляется возможность.
- `$feature` `string` — обязательный. Удаляемая возможность.

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

Файл: `wp-includes/post.php:2310`

```php
function remove_post_type_support( $post_type, $feature ) {
	global $_wp_post_type_features;

	unset( $_wp_post_type_features[ $post_type ][ $feature ] );
}
```

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

- 3.0.0 — Introduced.

## Связанные

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

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