Used By
Used By | Description |
---|---|
wp-includes/general-template.php: wp_head() | Fire the wp_head action. |
Prints scripts or data in the head tag on the front end.
The wp_head action hook is triggered within the <head></head>
section of the theme’s header.php
template by the wp_head()
function.
Although this is theme-dependent, it is one of the most essential theme hooks, so it is widely supported. See the Plugin API Hooks page on the Theme handbook for more information.
WordPress core uses this hook to perform many actions. Most of default actions into the 'wp-head' hook by WordPress core are set up in wp-includes/default-filters.php
. If you need to remove a default hook, this file will give you the priority for which to use to remove the hook.
Version | Description |
---|---|
1.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_head