Remove WordPress generator

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:

Random

    This entry was posted in WordPress and tagged , , . Bookmark the permalink.

    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

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

    *

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