0

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?

2
Contributors
2
Replies
5
Views
6 Years
Discussion Span
Last Post by lps
0

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

0

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.