WP_Admin_Bar::remove_node( string $id )
- Since
- 3.1.0
- Source
wp-includes/class-wp-admin-bar.php:284
Remove a node.
Parameters
$idstring- The ID of the item.
Uses · 1
Used by · 2
- WP_Admin_Bar::_bind()
- WP_Admin_Bar::remove_menu()Removes a node from the admin bar.
Source
public function remove_node( $id ) { $this->_unset_node( $id ); }History
Introduced in 3.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.0.4 tag, from
src/wp-includes/class-wp-admin-bar.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.