Hide WPCode from Page editing area

[ad_1]

Hi @dryn07,

The WPCode metabox can be disabled from the screen settings like any other metabox https://a.supportally.com/i/K2ky94 . We specifically made it collapsed by default all the time so that it will not interfere with the editing experience.

You can also create a PHP snippet using WPCode to deregister the metabox completely if you wish using this code:

add_action( 'add_meta_boxes', function( $post_type ) {
	remove_meta_box( 'wpcode-metabox-snippets', $post_type, 'normal' );
}, 150);

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer