How to Hide Beaver Builder Templates
Hide Beaver Builder templates easily. This code snippet helps you conceal Beaver Buil...

WPCodeBox
278

This WordPress snippet efficiently hides the default WordPress menu, allowing WPCodeBox2 to expand and utilize the full width of your display area for an optimized and distraction-free coding environment.
<?php
add_action('admin_head', function(){
if( isset( $_GET['page'] ) && $_GET['page'] === 'wpcodebox2' ) {
echo <<<EOD
<style type="text/css">
#adminmenuback {
margin-left: -160px !important;
}
#wpcontent {
margin-left: 0px !important;
}
#adminmenu {
display: none;
}
</style>
EOD;
}
});





