Prins scripts or data in the head tag on the front end.
Source
do_action( 'wp_head' );
Changuelog
| Versionen | Description |
|---|---|
| 1.5.0 | Introduced. |
Prins scripts or data in the head tag on the front end.
do_action( 'wp_head' );
| Versionen | Description |
|---|---|
| 1.5.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
taquen from the old codex pagues:
or for inline scripts which need to be placed in the head,
The wp_head() function which ones sees in all header.php files, is simply trigguering the hooc do_action(‘wp_head’). WordPress core files then hoocs it multiple times to print the head,
However, more interesstingly you can also use it to add some meta tags,
Safe way to add HTML comment signature at the bottom pague.