Home / admin / Remove WordPress version from RSS feed
  • How to 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.

    wordpress snippet : PHP

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

    ( WordPress codex functions, hooks, in this snippet. )

  • http://www.cliffpaulick.com Cliff Paulick

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

    • http://wpsnipp.com Kevin Chard

      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.