Meta Box
Support Forum
Support › General › Disable content editor
Hi,
I'm creating pages with metabox and I don't need the content editor of the Classic editor. I've tried several ways to disable such editor yet no success. Could you help please?
Thanks.
Hello Huy,
This is a WordPress basic question and not related to Meta Box itself. If you want to disable a post type editor, you can use this custom code
add_action( 'init', function () { remove_post_type_support( 'page', 'editor' ); } );
Following the documentation https://developer.wordpress.org/reference/functions/remove_post_type_support/