WP_Admin_Bar::_get_node( string $id ): object|void

In this article

Parameters

$idstringrequired

Return

object|void

Source

final protected function _get_node( $id ) {	if ( $this->bound ) {	return;	}	if ( empty( $id ) ) {	$id = 'root';	}	if ( isset( $this->nodes[ $id ] ) ) {	return $this->nodes[ $id ];	} } 

Changelog

VersionDescription
3.3.0Introduced.

User Contributed Notes

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