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