Based on my understanding, wp_enqueue_script is the function to bind the script to the head section while wp_enqueue_style is to bind CSS to it.
My question is: is there any way to bind a php to head without using include?

as far as i can see, wp_enqueue prepares all files for loading, stylesheets and js elements.

you can use @link in css to link to other files. checkout the css documentation

I can see that you misunderstand my question. I understand the basic wp-enqueue functions. My question is just that if there is a way to bind an external php file, for example, configured.php to the head section just as how we bind a style sheet with wp_enqueue_style.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.