Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Mobile
    • Hosting
    • Openverse ↗︎
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗︎
  • Community
    • Make WordPress
    • Photo Directory
    • Five for the Future
    • WordCamp ↗︎
    • Meetups ↗︎
    • Job Board ↗︎
  • About
    • About WordPress
    • Showcase
    • Enterprise
    • Gutenberg ↗︎
    • WordPress Swag Store ↗︎
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/admin-bar.php

wp_admin_bar_show_site_icons

Filter Hook: Filters whether to show the site icons in toolbar.

Source: wp-includes/admin-bar.php:630

Used by 1 function | Uses 0 functions

wp_admin_bar_edit_site_menu()

Function: Adds the “Edit site” link to the Toolbar.

Source: wp-includes/admin-bar.php:424

Used by 0 functions | Uses 6 functions

wp_admin_bar_recovery_mode_menu()

Function: Adds a link to exit recovery mode when Recovery Mode is active.

Source: wp-includes/admin-bar.php:1155

Used by 0 functions | Uses 6 functions

wp_admin_bar_customize_menu()

Function: Adds the “Customize” link to the Toolbar.

Source: wp-includes/admin-bar.php:452

Used by 0 functions | Uses 13 functions

_admin_bar_bump_cb()

Function: Prints default admin bar callback.

Source: wp-includes/admin-bar.php:1219

Used by 0 functions | Uses 1 function

wp_admin_bar_my_sites_menu()

Function: Adds the “My Sites/[Site Name]” menu and all submenus.

Source: wp-includes/admin-bar.php:502

Used by 0 functions | Uses 19 functions

show_admin_bar()

Function: Sets the display status of the admin bar.

Source: wp-includes/admin-bar.php:1243

Used by 2 functions | Uses 0 functions

wp_admin_bar_shortlink_menu()

Function: Provides a shortlink.

Source: wp-includes/admin-bar.php:725

Used by 0 functions | Uses 4 functions

is_admin_bar_showing()

Function: Determines whether the admin bar should be showing.

Source: wp-includes/admin-bar.php:1262

Used by 4 functions | Uses 6 functions

wp_admin_bar_edit_menu()

Function: Provides an edit link for posts and terms.

Source: wp-includes/admin-bar.php:759

Used by 0 functions | Uses 21 functions

show_admin_bar

Filter Hook: Filters whether to show the admin bar.

Source: wp-includes/admin-bar.php:1297

Used by 1 function | Uses 0 functions

wp_admin_bar_new_content_menu()

Function: Adds “Add New” menu.

Source: wp-includes/admin-bar.php:896

Used by 0 functions | Uses 6 functions

_get_admin_bar_pref()

Function: Retrieves the admin bar display preference of a user.

Source: wp-includes/admin-bar.php:1313

Used by 1 function | Uses 1 function

wp_admin_bar_comments_menu()

Function: Adds edit comments link with awaiting moderation count bubble.

Source: wp-includes/admin-bar.php:972

Used by 0 functions | Uses 6 functions

wp_admin_bar_appearance_menu()

Function: Adds appearance submenu items to the “Site Name” menu.

Source: wp-includes/admin-bar.php:1005

Used by 1 function | Uses 6 functions

wp_admin_bar_wp_menu()

Function: Adds the WordPress logo menu.

Source: wp-includes/admin-bar.php:123

Used by 0 functions | Uses 7 functions

wp_admin_bar_updates_menu()

Function: Provides an update link if theme/plugin/core updates are available.

Source: wp-includes/admin-bar.php:1087

Used by 0 functions | Uses 5 functions

wp_admin_bar_sidebar_toggle()

Function: Adds the sidebar toggle button.

Source: wp-includes/admin-bar.php:210

Used by 0 functions | Uses 3 functions

wp_admin_bar_search_menu()

Function: Adds search form.

Source: wp-includes/admin-bar.php:1121

Used by 0 functions | Uses 5 functions

wp_admin_bar_my_account_item()

Function: Adds the “My Account” item.

Source: wp-includes/admin-bar.php:232

Used by 0 functions | Uses 9 functions

wp_admin_bar_add_secondary_groups()

Function: Adds secondary menus.

Source: wp-includes/admin-bar.php:1181

Used by 0 functions | Uses 1 function

wp_admin_bar_my_account_menu()

Function: Adds the “My Account” submenu items.

Source: wp-includes/admin-bar.php:273

Used by 0 functions | Uses 11 functions

wp_admin_bar_header()

Function: Prints style and scripts for the admin bar.

Source: wp-includes/admin-bar.php:1207

Used by 0 functions | Uses 1 function

wp_admin_bar_site_menu()

Function: Adds the “Site Name” menu.

Source: wp-includes/admin-bar.php:343

Used by 0 functions | Uses 20 functions

_wp_admin_bar_init()

Function: Instantiates the admin bar object and set it up as a global for access elsewhere.

Source: wp-includes/admin-bar.php:23

Used by 0 functions | Uses 4 functions

wp_admin_bar_class

Filter Hook: Filters the admin bar class to instantiate.

Source: wp-includes/admin-bar.php:42

Used by 1 function | Uses 0 functions

wp_admin_bar_render()

Function: Renders the admin bar to the page based on the $wp_admin_bar->menu member var.

Source: wp-includes/admin-bar.php:74

Used by 0 functions | Uses 4 functions

admin_bar_menu

Action Hook: Loads all necessary admin bar items.

Source: wp-includes/admin-bar.php:95

Used by 1 function | Uses 0 functions

wp_before_admin_bar_render

Action Hook: Fires before the admin bar is rendered.

Source: wp-includes/admin-bar.php:102

Used by 1 function | Uses 0 functions

wp_after_admin_bar_render

Action Hook: Fires after the admin bar is rendered.

Source: wp-includes/admin-bar.php:111

Used by 1 function | Uses 0 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry