On this page
wp_head()
Fires the wp_head action.
Description
See ‘wp_head’.
Source
File: wp-includes/general-template.php. View all references
function wp_head() {
/**
* Prints scripts or data in the head tag on the front end.
*
* @since 1.5.0
*/
do_action( 'wp_head' );
}
Hooks
- do_action( 'wp_head' )
-
Prints scripts or data in the head tag on the front end.
Related
Uses
| Uses | Description |
|---|---|
| do_action() wp-includes/plugin.php | Calls the callback functions that have been added to an action hook. |
Used By
| Used By | Description |
|---|---|
| WP_REST_Widget_Types_Controller::render_legacy_widget_preview_iframe() wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php | Renders a page containing a preview of the requested Legacy Widget block. |
Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_head