WP_Admin_Bar::_get_node( string $id )


Description Description


Parameters Parameters

$id

(string) (Required)


Top ↑

Return Return

(object|void)


Top ↑

Source Source

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

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

		if ( empty( $id ) ) {
			$id = 'root';
		}

		if ( isset( $this->nodes[ $id ] ) ) {
			return $this->nodes[ $id ];
		}
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.