Skip to content

Remove link manager

WordPress link manager is useless. Why do not remove that from menu? It’s easy:

add_action('admin_menu', function (){
remove_menu_page('link-manager.php');
});

You can remove other functions as well e.g.: remove_menu_page('edit-comments.php');remove comments edit from menu.