Outputs content in the <head> section
wp_head is the print slot inside document head. Use it for meta tags and inline snippets — not for enqueueing CSS or JS files.
type actionphase templatesince 1.5.0source wp-includes/general-template.php
do_action( 'wp_head' );
add_action( 'wp_head', function() {
echo '<meta name="theme-color" content="#0073aa">';
} );