WP_Admin_Bar::_set_node()protectedWP 3.3.0

Method of the class: WP_Admin_Bar{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->_set_node( $args );
$args(array) (required)
-

Changelog

Since 3.3.0 Introduced.

WP_Admin_Bar::_set_node() code WP 6.6.2

final protected function _set_node( $args ) {
	$this->nodes[ $args['id'] ] = (object) $args;
}