• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress core a2z

WordPress core a2z

WordPress core only

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Hooks / admin_bar_menu – action

Load all necessary admin bar items. This is the hook used to add, remove, or manipulate admin bar items.

Parameters

.
( 3.1.0 ) . .
$wp_admin_bar
( WP_Admin_Bar ) WP_Admin_Bar instance, passed by reference . . .
Hook name: admin_bar_menu
Hook type: action
Plugin ref: WordPress
Sourcefile:
File ref: WP_Admin_Bar::add_menus() –
Description: Load all necessary admin bar items. This is the hook used to add, remove, or manipulate admin bar items.
Parameters:
Deprecated?: No
API Letters: A,B,M

Invokers

1 to 1 of 1
  • wp_admin_bar_render() – Renders the admin bar to the page based on the $wp_admin_bar->menu member var.

Implementers

    Published: 25th November 2019 | Last updated: 2nd April 2020

    Primary Sidebar

    Information

    Hook name: admin_bar_menu
    Hook type: action
    Plugin ref: WordPress
    Sourcefile:
    File ref: WP_Admin_Bar::add_menus() –
    Description: Load all necessary admin bar items. This is the hook used to add, remove, or manipulate admin bar items.
    Parameters:
    Deprecated?: No
    API Letters: A,B,M

    Footer

    WP-a2z
    WordPress core a2z
    WordPress core only
    WordPress 5.6
    WordPress a2z
    WordPress core a2z
    Genesis Theme Framework a2z
    Jetpack a2z
    WordPress develop tests
    Easy Digital Downloads a2z
    WooCommerce a2z
    Yoast SEO a2z
    WordPress Blocks

    Site:  core.wp-a2z.org
    © Copyright WP-a2z 2014-2021. All rights reserved.


    Website designed and developed by Herb Miller
    Proudly powered by WordPress and oik plugins

    • Home
    • Blog
    • Sitemap
    • Sites