Thu Mar 21 2024 23:30:06 GMT+0000 (Coordinated Universal Time)
Saved by @hamzakhan123
add_action('admin_menu', 'plt_hide_woocommerce_menus', 71); function plt_hide_woocommerce_menus() { global $submenu , $menu; remove_menu_page( 'themes.php' ); remove_menu_page( 'plugins.php' ); // remove_menu_page( 'users.php' ); }
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments