W3cubDocs

/WordPress

wp_head()

Fires the wp_head action.

Description

See ‘wp_head’.

Source

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.

Changelog

Version Description
1.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_head