Skip to:
Content
Pages
Categories
Search
Top
Bottom

Back-end deletion of custom post does not delete activity


  • Brendan
    Participant

    @thirty3

    Hello,

    I have two custom posts 'community-story' and 'community-tip' that users can create from the front end. However if, for moderation purposes, we delete the posts from the back-end, the associated “user has shared a new story, storytitle” entry in the activity feed is not deleted.

    I’m assuming I need to create that association somewhere. How do I do that?

Viewing 1 replies (of 1 total)

  • Varun Dubey
    Participant

    @vapvarun

    @thirty3
    BuddyPress already have codes to delete activities for those post which are trash, and it works fine for post and CPT both.

    You can find the code ref for it inside
    buddypress/bp-blogs/bp-blogs-activity.php

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