How to Remove the Generator bbPress

And they keep doing it...

When you install a WordPress and looks like also when you install a bbPress they add you a meta generator.

It shows wich version are you using and I don't like to share my software version.

<meta name="generator" content="bbPress 1.0.2"  /Code language: HTML, XML (xml)

The hackers could use it in their advantage to hack my site.

So, lets remove it.

Open your functions.php located in your theme folder (if it doesn't exist create it) and add this remove action.

remove_action('bb_head', 'bb_generator');Code language: JavaScript (javascript)

Leave a Reply

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