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"  /

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');

About Ricard Torres

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

@ricard_dev @ricard_dev

📝 Blog 🎙 Podcast

Leave a Reply

Add <code> Some Code </code> by using this tags.