I’m using a plugin that adds an RSS feed to WordPress. I don’t want it there.
There is no option in the plugin’s settings to disable it.
How can I unhook it from wp_head()
, or, where do you register head
element things in a WordPress plugin so I can manually remove it?
Thanks
Without the specfic plugin name, I can only be fairly vague, but there are two things you can do:
To add additional code to unhook
<link />
tag (which is what I presume it’s adding) you would use something like:You would, however, need to know the name of the function you wished to remove, which makes simply removing the hook easier.
To add the
<link>
tag to your wp_head the plugin will probably use code similar to this:Obviously it is much easier to find if you already know the name of the function which you are trying to remove, but a search for
add_action('wp_head'
oradd_action("wp_head"
should find the line specified, which you can then remove to stop the insertion.