in_admin_header
Action HookDescription
Fires at the beginning of the content section in an admin page.Hook Information
File Location |
wp-admin/admin-header.php
View on GitHub
|
Hook Type | Action |
Line Number | 277 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into in_admin_header
add_action('in_admin_header', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-admin/admin-header.php:277
- How this hook is used in WordPress core
<?php
272 /**
273 * Fires at the beginning of the content section in an admin page.
274 *
275 * @since 3.0.0
276 */
277 do_action( 'in_admin_header' );
278 ?>
279
280 <div id="wpbody" role="main">
281 <?php
282 unset( $blog_name, $total_update_count, $update_title );
PHP Documentation
<?php
/**
* Fires at the beginning of the content section in an admin page.
*
* @since 3.0.0
*/
Quick Info
- Hook Type: Action
- Parameters: 0
- File: wp-admin/admin-header.php
Related Hooks
Related hooks will be displayed here in future updates.