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 */


Add links in wordpress admin bar:

function annointed_admin_bar_remove() {
global $wp_admin_bar;

‘parent’ => ‘new-content’,
‘id’ => ‘areas-covered’,
‘title’ => __(‘Areas Covered’),
‘href’ => “post-new.php”)

To seek challenging roles and to achieve excellence in the field of Open Source Web Technology with a profound spirit of commitment and dedication.

Share This Post

Related Articles

© 2017 Sumit Bansal. All rights reserved. Site Admin · Entries RSS · Comments RSS
Powered by WordPress · Designed by Theme Junkie