add php code to header.php in functions.php code example
Example: wordpress functions add to header
/* INSIDE functions.php */
/* Describe what the code snippet does so you can remember later on */
add_action('wp_head', 'your_function_name');
function your_function_name(){
?>
PASTE HEADER CODE HERE
<?php
};