Skip to:
Content
Pages
Categories
Search
Top
Bottom

Recount replies in each topic


  • andreiandronachi95
    Participant

    @andreiandronachi95

    Hello! I have a multisite and from time to time I copy topics from one site to another. The problem is that even if I have replies in that topic I still see it like it have 0 replies. I use bbp_get_topic_reply_count() function for this. If I run “Recount replies in each topic” from Tools – Forums everything is looking good and the number of replies is correct. The question is, is there any file that I can put it in a cron so I can run this on certain hours?

Viewing 1 replies (of 1 total)

  • Robin W
    Moderator

    @robin-w

    I have not tried it in cron, but a call to the function below should work

    bbp_admin_repair_forum_reply_count()

    and/or

    bbp_admin_repair_topic_reply_count()

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