Code For Remove WordPress Version Number - WPTRINITY

Code For Remove WordPress Version Number

You should always use the latest version of WordPress. But sometime, you may need to remove the WordPress version number from your site. Simply add this code to your functions file.

function wp_remove_version() {
return '';
}
add_filter('the_generator', 'wp_remove_version');