WordPress remove generator

This code sample will remove the WordPress generator tag from your website’s html source code and rss feed.


Add this code to your functions.php file

//Remove wordpress generator tag
function remove_generator() {
	return '';
}
add_filter('the_generator', 'remove_generator');