Remove WP Generator Meta Tag

Put in functions.php file in your theme:

/**
 * Remove WP Generator Meta Tag
 */
function wp_98_remove_generator_meta_tag() {
	remove_action( 'wp_head', 'wp_generator' );
}

add_action( 'init', 'wp_98_remove_generator_meta_tag' );

Leave a Reply

Your email address will not be published. Required fields are marked *