How to Remove WordPress Version Number

By default WordPress adds the WordPress version in your website’s header. Some people think it’s a security liability to which our answer is to keep WordPress updated.

However if you want to remove the WordPress version number, simply add the following code to your theme’s functions.php file

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

Related posts

Leave a Comment