Action Hook Post Selector
Author | Posts |
---|---|
February 11, 2014 at 6:06 pm 15326 | |
Hi,
I am using your plugin for so users can submit their own fundraisers with the wpmu fundraiser plugin. Works very well.
I want to allow the users to add manual pledges also so I need to create a new form where they can select the previous published post and then add data to custom fields.
I am thinking I need to use an action hook for this post selector. SO they can choose their previous post to update.
The code I can find so far is:
Any ideas?
Thanks | |
February 13, 2014 at 9:01 pm 15419 | |
Ok, so there are two issues. 1. The post parent selector that I think I need to use the action hook for. 2. The meta values for the manual pledges are stored un one metakey as an array: Those meta values are attached to custom post type called “donation” that have post_parent configured as ID of fundraising that donation was for. I have tried using an html field like this: Doesn’t work either. Any advice would be really appreciated. thanks | |
February 14, 2014 at 2:01 am 15429 | |
For the first one, you’ll need to use action hook field. For the 2nd one, perhaps this http://docs.wedevs.com/wpuf_add_post_after_insert/ |