How to delete meta tags produced by this plugin?
-
Hi,
I have a WP site just for my internal use, not a public site, and I would like to remove the meta tags from the source code:
<meta name="author" content="XXXXXXX" /> <meta name="description" content="XXXXXX"/>
Yes, I know that I can remove from the settings -> general the title of my site, but then I do not see it in the backend for the sake of clarity.
I added this to my theme’s function.php but this has no effect when the maintenance mode is active:
// remove unncessary header info function remove_header_meta() { remove_action('wp_head', 'author'); remove_action('wp_head', 'description'); } add_action('init', 'remove_header_meta');
Any solutions please for an active maintenance mode to delete these meta tags from source code?
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to delete meta tags produced by this plugin?’ is closed to new replies.