• Resolved dryn07

    (@dryn07)


    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

    (@gripgrip)

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

    Came looking for the same. This code worked perfectly. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.