
Have you seen this in WordPress site’s header?
<meta name="generator" content="WordPress 5.7">
Well, WordPress by default adds this meta generator line into your site’s header for tracking purpose.
One simple way to check if any blog is running latest or older version of WordPress is by checking their Version number in Header section.

Here is right Way to Remove WordPress Version Number.
Is it required?
I believe, absolutely no 🙂
How to disable it?
There are three ways
you could disable WordPress version generator:
Option-1. the_generator add filter option.
Add below to your theme’s function.php file.
add_filter( 'the_generator', 'crunchify_remove_wordpress_version' ); function crunchify_remove_wordpress_version() { return ''; }
Option-2. wp_head remove action
remove_action('wp_head', 'wp_generator');
Option-3. Use Plugin Crunchy Optimizer
- Just download plugin Crunchy Optimizer.
- Turn on toggle for
Disable WordPress Version Generator
.

That’s it.

Crunchy Optimizer – No recurring charge
No monthly or Yearly Payment – just one time purchase. We believe in the best product quality.
Simplest, most powerful, super light weight All-in-One WordPress plugin for all! 50+ Optimization, Customization & Webmaster Options in one single plugin. 🥳