How to remove WordPress version

Just found a useful code to remove the WordPress version in your theme code.

You have to place this code in your functions.php file of your theme.

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

About Rick

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*