How to disable Gutenberg / block editor for certain post types?
问题 WordPress added Gutenberg / block editor in its 5th version and it's enabled by default for Post and Page post types. It might be enabled by default for all custom post types in close future so as a WordPress developer I want to know how to disable this editor for my own custom post types? I want to keep classic editor for the post types that I registered from my plugins or themes. 回答1: It's possible to simply disable the editor using a WordPress filter. WordPress 5 and Higher If you want to