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

(array) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?