Languages: English • Italiano • 日本語 (Add your language)
Fire the 'wp_head' action. Put this template tag immediately before </head> tag in a theme template (ex. header.php, index.php).
<?php wp_head(); ?>
This function does not accept any parameters.
None.
wp-content/themes/twentyten/header.php
:
<?php ... /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?> </head>
wp_head() is located in wp-includes/general-template.php
.