Advertisements

wp_admin_bar_render

Definition:
function wp_admin_bar_render() {}

Render 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.

Defined actions

  • admin_bar_menu
    do_action_ref_array( 'admin_bar_menu', array( &$wp_admin_bar ) );
  • wp_before_admin_bar_render
    do_action( 'wp_before_admin_bar_render' );
  • wp_after_admin_bar_render
    do_action( 'wp_after_admin_bar_render' );

Source code

function wp_admin_bar_render() {

	global $wp_admin_bar;



	if ( ! is_admin_bar_showing() || ! is_object( $wp_admin_bar ) )

		return false;



	do_action_ref_array( 'admin_bar_menu', array( &$wp_admin_bar ) );



	do_action( 'wp_before_admin_bar_render' );



	$wp_admin_bar->render();



	do_action( 'wp_after_admin_bar_render' );

}

10591

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: