WP_Admin_Bar::_set_node()protectedWP 3.3.0

{} It's a method of the class: WP_Admin_Bar{}

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 3.3.0 Introduced.

Code of WP_Admin_Bar::_set_node() WP 6.1.1

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