W3cubDocs

/WordPress

WP_Admin_Bar::add_menu( array $node )

Description

Parameters

$node

(array) (Required)

Source

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

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

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_admin_bar/add_menu