WordPress: How to insert a theme variable into a widget?

I created some functions in my theme functions.php file, and I call the main function in the header.php file, and store the result into a variable, I want to use this value in a widget.

Is it possible ?

Related posts

Leave a Reply

3 comments