Update the activity item for a custom post type entry.
-
Hello !
I have a custom post-type registered on Buddypress.
When I publish a new article on this custom post-type I use the filter bp_before_activity_add_parse_args to template $cpt[‘content’] and save it in the table wp_bp_activity the way i want it to display on the feed.
When I update the post, bp_before_activity_add_parse_args is not fired ? this is normal ?
And my activity content is updated with bp_activity_post_type_update(), so i’m losing my template.I don’t find a filter to keep my content the way I want when i update my custom post-type article. Is there a way to do that without editing bp_activity_post_type_update() ?
Thank you for your help 🙂
- The topic ‘Update the activity item for a custom post type entry.’ is closed to new replies.