function plt_hide_backup_backup_menus() { //Hide the "Backup Migration" menu. remove_menu_page('backup-migration'); } add_action('admin_menu', 'plt_hide_backup_backup_menus', 11);
Where do I put this code?