Action hook 'wp_after_admin_bar_render'

in WP Core File wp-includes/admin-bar.php at line 113

View Source

wp_after_admin_bar_render

Action Hook
Description
Fires after the admin bar is rendered.

Hook Information

File Location wp-includes/admin-bar.php View on GitHub
Hook Type Action
Line Number 113

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

Basic Usage
<?php
// Hook into wp_after_admin_bar_render
add_action('wp_after_admin_bar_render', 'my_custom_function');

function my_custom_function() {
    // Your custom code here
}

Source Code Context

wp-includes/admin-bar.php:113 - How this hook is used in WordPress core
<?php
 108  	/**
 109  	 * Fires after the admin bar is rendered.
 110  	 *
 111  	 * @since 3.1.0
 112  	 */
 113  	do_action( 'wp_after_admin_bar_render' );
 114  
 115  	$rendered = true;
 116  }
 117  
 118  /**

PHP Documentation

<?php
/**
	 * Fires after the admin bar is rendered.
	 *
	 * @since 3.1.0
	 */
Quick Info
  • Hook Type: Action
  • Parameters: 0
  • File: wp-includes/admin-bar.php
Related Hooks

Related hooks will be displayed here in future updates.