Tagged: add

Add/Remove unwanted links from wordpress admin bar 0

Add/Remove unwanted links from wordpress admin bar

Remove links from wordpress admin bar: Given below code remove the wordpress logo and other links from the admin bar. function annointed_admin_bar_remove() { global $wp_admin_bar; /* Remove their stuff */ $wp_admin_bar->remove_menu(‘wp-logo’); $wp_admin_bar->remove_menu(‘updates’); $wp_admin_bar->remove_menu(‘view-site’); $wp_admin_bar->remove_menu(‘new-link’);...