Remove Publicly Displayed Version of WordPress

 In Security, Wordpress Admin

Another anti-hack hack. This handy security by obscurity snippet will hide the version of WordPress you’re using, making it harder for hackers exploiting holes in older versions of WordPress.

// Remove the WP version for extra WordPress Security
function remove_wp_version(){ 
return ''; 
} 
add_filter('the_generator', 'remove_wp_version');
Recommended Posts

Leave a Comment

Start typing and press Enter to search