WordPress at Your Fingertips
function is not described

WP_Admin_Bar::remove_node() public WP 1.0

Remove a node.

{} It's a method of the class: WP_Admin_Bar{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Admin_Bar = new WP_Admin_Bar();
$WP_Admin_Bar->remove_node( $id );
$id(string) (required)
The ID of the item.

Code of WP_Admin_Bar::remove_node() WP 5.8

<?php
public function remove_node( $id ) {
	$this->_unset_node( $id );
}