So for this project for Level Level I needed to replace the old WordPress blogroll / linkmanager functionality by a CPT and a some more easier and cleaner edit form with better ACF meta boxes.
While I read that if no links where present in the DB then the Links menu item would dissapear. But… I already upgraded while the links where still in the DB. So I looked up the Trac ticket and saw that while updating and site wide option
link_manager_enabled was set to
So after cleaning everything up I ran
wp update option link_manager_enabled 0 aand it’s gone. You could also set it on
1 while visiting
Oh and of course I added a the nice
'menu_icon' => 'dashicons-admin-links' while registring the new link CPT :)