How to Hide WordPress Version Number from Site and RSS feeds

WordPress by default shows the version of WordPress being used in the site as well as the feed.

Unless and until you are up to date with the latest vesrsion of wordpress its never a good idea to show the version number specially it provides loop hole for hackers to hack into the website.
The easiest and proper way to hide the version of WordPress is by adding the block of code below in the functions.php file of the current theme.

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

About Author

I am Robin - WordPress Developer based in Sydney. I work as Digital Developer. I do some projects now and then, and love blogging about WordPress and Web Design.