Are you worried about been targeted by hackers? Hit by spam bots? A simple way to greatly reduce the chance of this is to remove the version number of WordPress you are running. This reduces the chance of people finding loop holes in the version of WordPress you are using.
We were recently hit by a lot of spam enquires from automated bots, we removed the version number of WordPress we were running using this method and we have since not received any spam enquiries.
Some places will tell you to remove the code from your header.php, this does not fully remove the code as it is also in other places. The quickest and simplest way to remove it is to add this code to your functions.php file. (functions.php is located at /public_html/wp-content/themes/THEME_NAME/functions.php)
function hide_wp_version() {
return '';
}
add_filter('the_generator', 'hide_wp_version');
This will create a function called hide_wp_version, which will then return the value blank. Simply add this to the bottom of your function.php file, Upload it to your server and done.
It’s really that simple! If you have any problems or need some help just leave a comment and we will get back to you
.

