WP_Admin_Bar::add_menu

Advertisement

Summery Summery

Add a node (menu item) to the Admin Bar menu.

Syntax Syntax

WP_Admin_Bar::add_menu( array $node )

Parameters Parameters

$node

(Required) The attributes that define the node.

Source Source

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

	public function add_menu( $node ) {
		$this->add_node( $node );
	}

Advertisement

Changelog Changelog

Changelog
Version Description
3.3.0 Introduced.

Advertisement

Leave a Reply