How to Redirect WooCommerce Users Afte...
Easily redirect WooCommerce users to a custom URL after checkout by adjusting the ...

WPCodeBox
816
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;
}
});





