Skip to:
Content
Pages
Categories
Search
Top
Bottom

Deleting “_bbp_*” meta keys in wp_postmeta table


  • wrip
    Participant

    @wrip

    We used to have an old version of bbPress on our website, which was uninstalled years ago. I’ve recently noticed some meta keys starting with “_bbp_” in the wp_postmeta table like these:
    _bbp_last_active_time
    _bbp_forum_subforum_count
    _bbp_reply_count
    _bbp_total_reply_count
    _bbp_akismet_error
    _bbp_akismet_history
    _bbp_akismet_as_submitted
    _bbp_akismet_user_result
    _bbp_akismet_user

    I believe these are all bbPress-related data. Is it okay to manually remove these from the database? Does bbPress store data in other core WP tables?

Viewing 5 replies - 1 through 5 (of 5 total)

  • Robin W
    Moderator

    @robin-w

    if you are no longer using bbpress, then yes you can delete these manually from the database.

    bbpress may additionally have some settings stored in wp_options table, again these will all have bbp in their name.


    wrip
    Participant

    @wrip

    @robin-w
    Thanks for your reply. I have also checked the wp_posts table.

    SELECT * FROM wp_posts WHERE post_type = "forum" OR post_type = "topic" OR post_type = "reply"

    I can see some posts with the following post types:

    • forum
    • reply
    • topic

    Are these post types part of bbPress? Are there any additional post types added by bbPress?


    Robin W
    Moderator

    @robin-w

    yes these are the 3 bbpress post types, and they are the only post types.


    wrip
    Participant

    @wrip

    So it is also safe to remove all the posts from wp_posts table that have these 3 post types? Is that correct?


    Robin W
    Moderator

    @robin-w

    yes that should be fine

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar