Remove WordPress Version Number 🔢

Remove WordPress Version Number 🔢

To remove the WordPress version number simply add the following code in your functions.php file or custom plugin:

/** * Remove WordPress version number*/
function custom_remove_version() {
return '';
}
add_filter('the_generator', 'custom_remove_version');
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.