wp_admin_bar_render ( No parameters )

Defined at:


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

This is called very late on the footer actions so that it will render after anything else being added to the footer.

It includes the {@see 'admin_bar_menu'} action which should be used to hook in and add new menus to the admin bar. That way you can be sure that you are adding at most optimal point, right before the admin bar is rendered. This also gives you access to the $post global, among others.

Related Functions

wp_admin_bar_header, wp_admin_bar_wp_menu, _wp_admin_bar_init, wp_admin_bar_search_menu, wp_admin_headers

Top Google Results

User discussions

wpseek mobile