admin_head-{$hook_suffix} WordPress Action Hook
The admin_head-{$hook_suffix} hook is triggered when the head section of the admin page is being generated. This hook can be used to add custom styles or JavaScript to the admin page.
do_action( "admin_head-{$hook_suffix}" ) #
Fires in head section for a specific admin page.
Description
The dynamic portion of the hook name, $hook_suffix
, refers to the hook suffix for the admin page.
More Information
This hook provides no parameters. You use this hook by having your function echo output to the browser, or by having it perform background tasks. Your functions shouldn’t return, and shouldn’t take any parameters.
Source
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |