function plt_hide_mycryptocheckout_menus() { //Hide the "Settings → MyCryptoCheckout" menu. remove_submenu_page('options-general.php', 'mycryptocheckout'); } add_action('admin_menu', 'plt_hide_mycryptocheckout_menus', 11);
Where do I put this code?