admin_head WordPress Action Hook

The admin_head hook is called in the admin header after the menu has been drawn. It can be used to perform custom actions in the administration interface.

do_action( 'admin_head' ) #

Fires in head section for all admin pages.


More Information

The common usage is to include CSS (external via <link> or inline via <style>) or JS (external and inline via <script>).


Top ↑

Source

File: wp-admin/admin-header.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.