WP_Admin_Bar::remove_node()
Remove a node.
Method of the class: WP_Admin_Bar{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WP_Admin_Bar = new WP_Admin_Bar(); $WP_Admin_Bar->remove_node( $id );
- $id(string) (required)
- The ID of the item.
Changelog
Since 3.1.0 | Introduced. |
WP_Admin_Bar::remove_node() WP Admin Bar::remove node code WP 6.6.2
public function remove_node( $id ) { $this->_unset_node( $id ); }