X

Remove WordPress version from RSS feed

Adding this snippet to the functions.php of your wordpress theme will remove the wordpres version from your rss feed.


	function remove_feed_generator() {
	return '';
	}
	add_filter('the_generator', 'remove_feed_generator');

Comments  Leave a Reply

  1. Is this just from the feed or also from the HTML code? Is there a reason to not take it out of there too?

    1. This is just for the feed and in regards to the I’m not sure of any reasons not to take out the version number.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!