WordPress at a glance
function is not described

WP_Admin_Bar::get_nodes() public WP 1.0

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

No Hooks.

Return

Array/null.

Usage

$WP_Admin_Bar = new WP_Admin_Bar();
$WP_Admin_Bar->get_nodes();

Code of WP_Admin_Bar::get_nodes() WP 5.5.1

<?php
final public function get_nodes() {
	$nodes = $this->_get_nodes();
	if ( ! $nodes ) {
		return;
	}

	foreach ( $nodes as &$node ) {
		$node = clone $node;
	}
	return $nodes;
}