Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
  • 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:624

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:418

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:1146

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:446

Used by 0 functions | Uses 13 functions

_admin_bar_bump_cb()

Function: Prints default admin bar callback.

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

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:496

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:1234

Used by 2 functions | Uses 0 functions

wp_admin_bar_shortlink_menu()

Function: Provides a shortlink.

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

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:1253

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:753

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:1288

Used by 1 function | Uses 0 functions

wp_admin_bar_new_content_menu()

Function: Adds “Add New” menu.

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

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:1304

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:966

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:999

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:1081

Used by 0 functions | Uses 5 functions

wp_admin_bar_sidebar_toggle()

Function: Adds the sidebar toggle button.

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

Used by 0 functions | Uses 3 functions

wp_admin_bar_search_menu()

Function: Adds search form.

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

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:226

Used by 0 functions | Uses 9 functions

wp_admin_bar_add_secondary_groups()

Function: Adds secondary menus.

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

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:267

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:1198

Used by 0 functions | Uses 1 function

wp_admin_bar_site_menu()

Function: Adds the “Site Name” menu.

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

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