WordPress Security Tips: Check if full WP version info is revealed in page’s meta data

wordpress security tipsYou should be proud that your site is powered by WordPress and there’s no need to hide that information. However disclosing the full WP version info in the default location (page header meta) is not wise. People with bad intentions can easily use Google to find site’s that use a specific version of WordPress and target them with 0-day exploits.

Place the following code in your theme’s functions.php file in order to remove the header meta version info:

function remove_version() {

  return '';


add_filter('the_generator', 'remove_version');

If you are concerned about WordPress security on your site, we encourage you to follow the full set of tips on our WordPress Security page. And get in touch if you need help with protecting your site from hackers.