Wordpress - Theme Structure and Basics
This code snippet is added to
functions.php but causes a fatal error:
function my_custom_function() {
echo 'Welcome!'
}
add_action('wp_head', 'my_custom_function');
What is the error and how to fix it?