Remove WordPress generator

Thursday, April 30th, 2009
Advertisement

Subscribe.
Enter your email:

To remove WordPress generator, append this code to function.php:

Method 1:

This method will not work on WordPress 2.8.

function remove_generator()
{
    return '';
}
add_filter('the_generator','remove_generator');

Mehod 2:

This method will work on WordPress 2.8.

<?php remove_action('wp_head', 'wp_generator'); ?>
If you are new here, you might want to subscribe to the RSS feed or newsletter.

Enter your email address:

Creates the exact copy of your hard disk and allows you to instantly restore the entire machine.
New Acronis True Image Home 2010 is the most reliable and easy in use backup solution. Now with online backup option!
15% Discount Code: FMAATIH2010

What else should you read?

    Like this article? Share it

     Digg  del.icio.us  TwitThis  Facebook  Reddit  StumbleUpon

    3 Responses to “Remove WordPress generator”

    1. KNizam says:

      kenapa kena remove eh ?

    2. unfappypunc says:

      Interesting web site!! I will visit again..

    Leave a Reply

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>