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

WordPress.com vs. Rocket.net for Bloggers: I Run the Same Stack on Both. Here’s How They Compare.

Choosing a WordPress host in 2026 is not about finding the “best”…

Why WordPress is the ultimate option for Non-techy business owners

In this digital age, every business needs an online presence. This can become an issue for business owners especially who have a limited budget and cannot afford to hire a digital agency or a web developer. Small business owners take up on this task on their own even if they do not possess the required […]

Create a custom PHP page in the WordPress environment

How to create a custom PHP page that have access to all variables and functions within the environment of our WordPress blog? The answer is very simple. First create a page in your theme folder: /wp-content/themes/your-theme-name/page.php After that use this code in the top of your page [sourcecode language=”php”]<?php define(‘WP_USE_THEMES’, false); require(‘../../../wp-blog-header.php’); ?>[/sourcecode] Now you […]