How to Add WPCodeBox to Your WordPress...
Move WPCodeBox menu to the top bar for easy access in WordPress.

WPCodeBox
630
This WordPress snippet effectively hides the WordPress admin menu, allowing WPCodeBox to expand and utilize the full width of your screen, enhancing your code editing experience.
<?php
add_action('admin_head', function(){
if( isset( $_GET['page'] ) && $_GET['page'] === 'wpcb_menu_page_php' ) {
echo <<<EOD
<style type="text/css">
#adminmenuback {
margin-left: -160px !important;
}
#wpcontent {
margin-left: 0px !important;
}
#adminmenu {
display: none;
}
</style>
EOD;
}
});
Move WPCodeBox menu to the top bar for easy access in WordPress.





