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

February 24, 2011 


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