WP_Admin_Bar::remove_node( string $id )
Remove a node.
Description Description
Parameters Parameters
- $id
-
(string) (Required) The ID of the item.
Source Source
File: wp-includes/class-wp-admin-bar.php
public function remove_node( $id ) { $this->_unset_node( $id ); }
Expand full source code Collapse full source code View on Trac
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
The following code removes the Customizer links, Background and Header from the Toolbar drop-downs:
The following code removes the WP logo and the Comments menu: