function plt_hide_just_duplicate_menus() { //Hide the "Just Duplicate" menu. remove_menu_page('just-duplicate-settings'); } add_action('admin_menu', 'plt_hide_just_duplicate_menus', 11);
Where do I put this code?