W3cubDocs

/WordPress

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 ] );
	}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_admin_bar/_unset_node