Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove WordPress version number


  • Philip Tyrer
    Participant

    @amparose

    In normal WP you can add:

    `remove_action(‘wp_head’, ‘wp_generator’);`

    to functions.php.

    This removes the WordPress version number from the but it doesn’t seem to work with Buddypress.

Viewing 1 replies (of 1 total)

  • r-a-y
    Keymaster

    @r-a-y

    That’s because it’s hardcoded in the bp-default theme (unfortunately).

    You can remedy this by creating a child theme with bp-default as the template. Then, copy over bp-default’s header.php and remove the WordPress version meta tag.

Viewing 1 replies (of 1 total)
  • The topic ‘Remove WordPress version number’ is closed to new replies.
Skip to toolbar