WP_Admin_Bar::get_nodes

Advertisement

Syntax Syntax

WP_Admin_Bar::get_nodes()

Return Return

(array|void)

Source Source

File: wp-includes/class-wp-admin-bar.php

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

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

Advertisement

Advertisement

Leave a Reply