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