Hide WordPress Content Editor Panel Using ACF


Add the code snippet below into your functions.php file to hide the default WordPress content meta box.

Source

/**
 * Hide the Page and Post Content Editor - Gutenberg
 */
add_action( 'init', function() {
	// remove_post_type_support( 'post', 'editor' );
	remove_post_type_support( 'page', 'editor' );
}, 99);


Written by: Jake Lett
Jake Lett is a B2B marketing consultant with over 15 years of experience in the digital marketing industry. He specializes in SEO, HubSpot, and PPC campaign management. Jake has a proven track record of helping businesses increase their online visibility and drive more traffic, leads and sales. He is a Certified Google Ads Specialist and a Certified HubSpot Developer.

Topic:

Related posts

Tags:

Want to Get Email Updates of New Articles?

Join My Email Newsletter