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

Pressable: The WordPress Hosting Built for Next-Generation Demands

WordPress isn’t your grandfather’s blogging platform anymore. Pressable understands this fundamental shift. While most hosting companies are still optimizing for traditional page rendering, Pressable by Automattic, the team behind WordPress itself, to handle what comes next. Multi-channel content. Headless architectures. API-first patterns. Infrastructure that evolves with the platform, not behind it. The disconnect between what […]

How to Find and Fix Broken Internal Links on Your WordPress Site

I found 47 broken internal links on my own site the first…

How to Transfer From Blogger to WordPress In 6 Super Easy Steps

Blogger is a great tool for beginners, but once a blogger starts to realise the perks of having full control over their content, then WordPress becomes the next best option. There is a lot of information about how to migrate your blog or site. The hardest part about this move is trying to find and […]

WordPress.com Guidelines: A Hands-On Test of the New AI Content Memory Feature

I tested WordPress.com’s new Guidelines feature firsthand: what it actually does, what it doesn’t, and whether AI writing tools really follow the rules you set.