I am in need to remove just this line <meta name=robots content="noindex,follow"/>
from wp_head
but can’t find the right hook to use it with remove_action()
.
<meta name=robots content="noindex,follow"/>
Basically what I want to achieve is to remove just this line from the header but just for the search page. So in this case I would use something similar to:
if ( is_search() ) { remove_action('wp_head', 'whatever-the-action-name-is'); }