WP_Admin_Bar::add_menu( array $node )
Adds a node (menu item) to the admin bar menu.
Parameters
- $node
-
(Required) The attributes that define the node.
Source
File: wp-includes/class-wp-admin-bar.php
public function add_menu( $node ) {
$this->add_node( $node );
}
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |