The publishing platform WordPress adds a small line for itself to advertise and clarify that the site that you find is a site using WordPress.

Except that in addition to reporting that it’s WordPress, it goes to show the current version.It is not embarrassing, except that each version has its security problems…

Past one of this codes in your functions.php file.

[sourcecode language=”php”]// Remove the WordPress Generator<br />
function remove_generators() { return ”; }<br />
add_filter( ‘the_generator’, ‘remove_generators’ );[/sourcecode]

You can also say that it’s WordPress without specifying which version

[sourcecode language=”php”]// Change the WordPress Generator<br />
function change_generators() { return ‘&lt;meta name=&quot;generator&quot; content=&quot;WordPress&quot; /&gt;’; }<br />
add_filter( ‘the_generator’, ‘change_generators’ );<br />
[/sourcecode]


You May Also Like

What’s New In WordPress 4.3

  WordPress is the most widely used content management system in the world. It is an excellent platform for beginners to launch their blog without needing expert knowledge on HTML. WordPress is also useful for sole proprietors who want their business to have an online presence but at the same time do not want to […]

WordCamp US 2026: What to Expect at Your First WordCamp

I haven’t been to WordCamp US yet. I’m putting that on the…

How WordCamp US 2026 Helps Freelancers and Agencies Grow

Most conferences sell you a badge and a keynote. WordCamp US sells…