Back WordPress

How to Remove Links Tab from Admin Panel

WRITTEN BY ON 24 May 2011
8,704 VIEWS • SHARES
0 comments

WordPress admin interface has became more intuitive now. In the admin page, You can see the main navigation menu detailing each of the administrative functions you can perform, grouped in collapsible tabbed panels on the left-hand side column.

PHP

Simply put the code in your theme functions.php file.

add_action( 'admin_init', 'remove_links_tab_menu_pages' );

function remove_links_tab_menu_pages() {
	remove_menu_page('link-manager.php');
	remove_menu_page('tools.php');
}

Join the discussion

Comments will be moderated and rel="nofollow" will be added to all links. You can wrap your coding with [code][/code] to make use of built-in syntax highlighter.