function plt_hide_bibly_menus() { //Hide the "Settings → bib.ly Settings" menu. remove_submenu_page('options-general.php', 'bibly/bibly-js-wp.php'); } add_action('admin_menu', 'plt_hide_bibly_menus', 11);
Where do I put this code?