wordpress functions add to header
/* INSIDE YOUR functions.php theme file -> Add to header some code */
add_action('wp_head', 'your_function_name');
function your_function_name(){
?>
PASTE HEADER CODE HERE
<?php
};
4.67
6
/* 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
};
Thank you!
6
0
Are there any code examples left?
New code examples in category PHP