Title: Hide WPCode from Page editing area
Last modified: June 10, 2024

---

# Hide WPCode from Page editing area

 *  Resolved [dryn07](https://wordpress.org/support/users/dryn07/)
 * (@dryn07)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/hide-wpcode-from-page-editing-area/)
 * Hi, what is the way to hide “WPCode Page Scripts” menu from the page/post editing
   area?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/hide-wpcode-from-page-editing-area/#post-17813499)
 * Hi [@dryn07](https://wordpress.org/support/users/dryn07/),
 * The WPCode metabox can be disabled from the screen settings like any other metabox
   [https://a.supportally.com/i/K2ky94](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);
       ```
   
 *  [conradish](https://wordpress.org/support/users/conradish/)
 * (@conradish)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/hide-wpcode-from-page-editing-area/#post-18131897)
 * Came looking for the same. This code worked perfectly. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hide WPCode from Page editing area’ is closed to new replies.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [conradish](https://wordpress.org/support/users/conradish/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/hide-wpcode-from-page-editing-area/#post-18131897)
 * Status: resolved