Calling a function from functions.php in header [closed]

Been searching a lot for how to call a function in header.php where the function is in functions.php.

How do I solve this?

I have my function in functions.php like this:

function testFunction()
{
echo "This is a test";
}

1 Answer
1

Simple! just call it testFunction(); wherever you want between php tags.

But not a wp question

Leave a Comment