Remove WordPress Version from Head and Feeds
Removes the WordPress generator meta tag from the HTML head and strips the version string from all RSS/Atom feeds.
PHPby SnipCraft
php
<?php
remove_action( 'wp_head', 'wp_generator' );
add_filter( 'the_generator', '__return_empty_string' );#feeds#hardening#security#version