Skip to content

Add a setting to opt-out of block templates using theme.json #33500

@youknowriad

Description

@youknowriad

Right now, themes can opt-out of block templates by using the

remove_theme_support( 'block-templates' );

Since theme.json is becoming the default config file for themes, we should consider adding a way to do the same using a setting in the theme.json file.

cc @aristath @nosolosw

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Template Editing ModeRelated to the template editor available in the Block Editor[Type] New APINew API to be used by plugin developers or package users.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions