WP_Admin_Bar::get_node

Advertisement

Summery Summery

Gets a node.

Syntax Syntax

WP_Admin_Bar::get_node( string $id )

Parameters Parameters

$id

(Required)

Return Return

(object|void) Node.

Source Source

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

	final public function get_node( $id ) {
		$node = $this->_get_node( $id );
		if ( $node ) {
			return clone $node;
		}
	}

Advertisement

Advertisement

Leave a Reply