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 […]

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.

[code language="php"]
function wpguru_remove_wpversion() {
return '';
}
add_filter('the_generator', 'wpguru_remove_wpversion');
[/code]

About Author

Robin Thebe

Digital Strategist based in Sydney.

I am multi disciplined web developer based in Sydney focusing around website design, wordpress development, SEO, SEM and Email Marketing.