WP_Admin_Bar::_get_nodes() WordPress Method

The WP_Admin_Bar::_get_nodes() method is used to get all the registered nodes for the admin bar. This includes both the top-level menu items and the sub-menu items.

WP_Admin_Bar::_get_nodes() #


Return

(array|void)


Top ↑

Source

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

	final protected function _get_nodes() {
		if ( $this->bound ) {
			return;
		}

		return $this->nodes;
	}


Top ↑

Changelog

Changelog
VersionDescription
3.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.