Custom Activity Post From External Action
-
Hi there!
I’m sure this is bit of a crazy ask, but here it goes anyway…
I’ve been reviewing the code for custom activity posts. Though I’m far from being an expert it seems fairly straight forward. However I’m not quite sure how to pass the data that I want to be in the content of the post.
On my site users can donate money to good causes. I would like a post to be created whenever a user does this. All donations take place via subdomain (payments.mydomain.co), after completing donation via stripe they are redirected to a success page in that subdomain, which has a link back to the site.
Firstly, is it possible to generate a post from an action that took place outside of buddypress (and is not a plugin)?
Secondly if yes, how can you make it work? I can’t seem to quite work it out because I can get it to trigger any actions/filters required for custom posts since it lies outside of buyddpress.
- You must be logged in to reply to this topic.