Reputation: 1720
I have done a lot of search on it, most of the people are saying
wp_head() is located in wp-includes/general-template.php
wp_head is in default-filter.php in wp-includes
But I want to know where the html/php file placed in file directory that is rendered by wp_head(), so I can edit that file. Thanks
Upvotes: 29
Views: 79102
Reputation: 91
Following https://codex.wordpress.org/Function_Reference/wp_head
wp_head() is located in wp-includes/general-template.php.
If you want edit something, execute a Control+MAJ+F (Find in folder) in wp-includes and it gives you the file where the specific content should be edited.
Upvotes: 4
Reputation: 10240
The wp_head()
function simply calls all functions hooked to the wp_head
action. Various functions will be hooked to this action, they may reside in the WordPress core, or perhaps in plugins you may be using, or even in your theme's functions.php file.
To my knowledge, there isn't a specific wp_head template 'file' that you can edit.
Ref:
Upvotes: 25