WP_Admin_Bar::add_menu( array $node )
Parameters
- $node
-
(Required)
Source
File: wp-includes/class-wp-admin-bar.php
public function add_menu( $node ) {
$this->add_node( $node );
}
Related
Uses
Uses | Description |
---|---|
wp-includes/class-wp-admin-bar.php: WP_Admin_Bar::add_node() |
Adds a node to the menu. |
Used By
Used By | Description |
---|---|
wp-includes/deprecated.php: wp_admin_bar_dashboard_view_site_menu() |
Add the “Dashboard”/”Visit Site” menu. |
wp-includes/admin-bar.php: wp_admin_bar_edit_menu() |
Provide an edit link for posts and terms. |
wp-includes/admin-bar.php: wp_admin_bar_new_content_menu() |
Add “Add New” menu. |
wp-includes/admin-bar.php: wp_admin_bar_comments_menu() |
Add edit comments link with awaiting moderation count bubble. |
wp-includes/admin-bar.php: wp_admin_bar_appearance_menu() |
Add appearance submenu items to the “Site Name” menu. |
wp-includes/admin-bar.php: wp_admin_bar_updates_menu() |
Provide an update link if theme/plugin/core updates are available. |
wp-includes/admin-bar.php: wp_admin_bar_search_menu() |
Add search form. |
wp-includes/admin-bar.php: wp_admin_bar_wp_menu() |
Add the ClassicPress logo menu. |
wp-includes/admin-bar.php: wp_admin_bar_sidebar_toggle() |
Add the sidebar toggle button. |
wp-includes/admin-bar.php: wp_admin_bar_my_account_item() |
Add the “My Account” item. |
wp-includes/admin-bar.php: wp_admin_bar_my_account_menu() |
Add the “My Account” submenu items. |
wp-includes/admin-bar.php: wp_admin_bar_site_menu() |
Add the “Site Name” menu. |
wp-includes/admin-bar.php: wp_admin_bar_customize_menu() |
Adds the “Customize” link to the Toolbar. |
wp-includes/admin-bar.php: wp_admin_bar_my_sites_menu() |
Add the “My Sites/[Site Name]” menu and all submenus. |
wp-includes/admin-bar.php: wp_admin_bar_shortlink_menu() |
Provide a shortlink. |