File: wp-includes/admin-bar.php
-
Enqueues inline bump styles to make room for the admin bar.
-
Enqueues inline style to hide the admin bar when printing.
-
Filters whether to show the site icons in toolbar.
-
functionwp_admin_bar_edit_site_menu()
Adds the “Edit site” link to the Toolbar.
-
Adds a link to exit recovery mode when Recovery Mode is active.
-
functionwp_admin_bar_customize_menu()
Adds the “Customize” link to the Toolbar.
-
functionis_admin_bar_showing()
Determines whether the admin bar should be showing.
-
functionwp_admin_bar_my_sites_menu()
Adds the “My Sites/[Site Name]” menu and all submenus.
-
hookshow_admin_bar
Filters whether to show the admin bar.
-
functionwp_admin_bar_shortlink_menu()
Provides a shortlink.
-
function_get_admin_bar_pref()
Retrieves the admin bar display preference of a user.
-
functionwp_admin_bar_edit_menu()
Provides an edit link for posts and terms.
-
functionwp_admin_bar_new_content_menu()
Adds “Add New” menu.
-
functionwp_admin_bar_comments_menu()
Adds edit comments link with awaiting moderation count bubble.
-
functionwp_admin_bar_appearance_menu()
Adds appearance submenu items to the “Site Name” menu.
-
functionwp_admin_bar_wp_menu()
Adds the WordPress logo menu.
-
functionwp_admin_bar_updates_menu()
Provides an update link if theme/plugin/core updates are available.
-
functionwp_admin_bar_sidebar_toggle()
Adds the sidebar toggle button.
-
functionwp_admin_bar_search_menu()
Adds search form.
-
functionwp_admin_bar_my_account_item()
Adds the “My Account” item.
-
Adds secondary menus.
-
functionwp_admin_bar_my_account_menu()
Adds the “My Account” submenu items.
-
functionshow_admin_bar()
Sets the display status of the admin bar.
-
functionwp_admin_bar_site_menu()
Adds the “Site Name” menu.
-
function_wp_admin_bar_init()
Instantiates the admin bar object and set it up as a global for access elsewhere.
-
Filters the admin bar class to instantiate.
-
functionwp_admin_bar_render()
Renders the admin bar to the page based on the $wp_admin_bar->menu member var.
-
hookadmin_bar_menu
Loads all necessary admin bar items.
-
Fires before the admin bar is rendered.
-
Fires after the admin bar is rendered.