I have a CPT which does not need an HTML/content/editor field.

It seems I have to add at least "supports" => [ "editor" ] to the args of register_post_type(), but then it is possible to add standard blocks to the content field. Otherwise the classic editor is shown.

So I want to remove this editor field without going back to the classic editor.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.