wphooks.info - admin_bar_menu

admin_bar_menu

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/admin-bar.php:
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
	/**
	 * Load all necessary admin bar items.
	 *
	 * This is the hook used to add, remove, or manipulate admin bar items.
	 *
	 * @since 3.1.0
	 *
	 * @param WP_Admin_Bar $wp_admin_bar WP_Admin_Bar instance, passed by reference
	 */
	do_action_ref_array( 'admin_bar_menu', array( &$wp_admin_bar ) );

	/**
	 * Fires before the admin bar is rendered.
	 *
	 * @since 3.1.0
	 */
	do_action( 'wp_before_admin_bar_render' );

	$wp_admin_bar->render();