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);

About the Author

Jacob Lett is the founder of Bootstrap Creative, a digital marketing consultancy that helps Michigan manufacturers generate qualified leads through HubSpot, technical SEO, and Google Ads. With over a decade of hands-on experience, he acts as a direct partner for B2B companies seeking measurable ROI from their marketing investment.



Related posts

Tags:

| Read My Editorial Policy

Want to Get Email Updates of New Articles?

Join My Email Newsletter