30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

Get Post Type Editor Support

No setting can put a post into the block editor if its post type does not support it. That is the most common reason a custom post type “ignores” the default.

editor/get-post-type-editor-support reports, for each post type, whether the classic editor and the block editor are available to it.

At a glance

Abilityeditor/get-post-type-editor-support
ToolsetClassic Editor — toolset/classic-editor
GroupClassic Editor › Editor Resolution
RequiresClassic Editor, active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

The classic editor needs the post type to support editor. The block editor needs the post type to be block-editor eligible, which usually means it is registered with show_in_rest.

Post type support has the last word over the site default, the user preference and any remembered choice.

Omit post_type to inspect every registered post type at once.

Input

NameTypeRequiredWhat it is
post_typestringNoOne post type. Omit for every registered post type.

What comes back

NameTypeWhat it is
post_typesarrayOne row per post type: whether the classic editor and the block editor are available, and whether neither is.
countintegerHow many post types were inspected.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Why won’t our Events post type use the block editor?

It resolves to one call:

{
  "ability": "editor/get-post-type-editor-support",
  "parameters": {
    "post_type": "event"
  }
}

Worth knowing

  • A post type with neither editor available has no content editor at all — usually on purpose.
  • Run this before changing any setting: if the post type is not eligible, no setting will help.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading