open
22.07.2022.

Removing the generator from the wordpress header

Last update: 05.11.2024.

Including the wordpress version number in the source code will help malicious attacks, as known exploits of non-updated versions of wordpress can be exploited.

Use the code snippet or plugin below to solve the problem.

 

<?php remove_action(‘wp_head’, ‘wp_generator’); ?>
Copy to Clipboard

Related posts

Got a question? Is something not working? Write and I'll answer!

Leave a Reply

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

ContactOur Works