WP_Admin_Bar::_unset_node() WordPress Method
The WP_Admin_Bar::_unset_node() method is used to remove a node from the admin bar.
WP_Admin_Bar::_unset_node( string $id ) #
Parameters
- $id
(string)(Required)
Source
File: wp-includes/class-wp-admin-bar.php
final protected function _unset_node( $id ) { unset( $this->nodes[ $id ] ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |