Toolonomy Logo
Last Updated on: October 31, 2020

Remove Specific Items from the WordPress Toolbar [PHP Snippet]

If you want to remove specific items from the WordPress Toolbar to declutter it and make things organized then this code snippet would help you achieve just that.

/* Advanced Scripts Method to Add This Snippet */
Title: Remove WordPress Toolbar Items
Type: PHP: Custom Code
Location: Plugins Loaded
Priority: 10

function syncwin_remove_toolbar_nodes($wp_admin_bar) {

add_action('admin_bar_menu', 'syncwin_remove_toolbar_nodes', 999);

Explore our Facebook Community

Consider joining our Toolonomy Facebook Community if you want to involve in the group discussion with like-minded people about Business Development Tools.
Join Now
Made with ❤ for Digital Entrepreneurs
Copyright © 2018 - 2022 SyncWin | All Rights Reserved.
Top crossmenu