Update or add new list item from front end
-
This is less of a support issue, and more of a development problem that I could use some guidance on, if anyone has any thoughts.
I’d like to edit/add new list items using a form on the front end. Adding new list items is by far the more important of the two objectives here.
Updating meta from the front end for simpler fields like text, radio, etc. is fairly straightforward using something like:
update_post_meta( $post->ID, 'my_meta_id', $my_meta_update);
and just passing in the change using the $my_meta_update variable.
But the list item metabox seems to be a good bit more complex and I’m not sure how to go about updating/adding list items and populating the various sub fields using update_post_meta or add_post_meta.
Anyone tackled this before or have some insight as to how to go about it? Any thoughts are much appreciated. Thank you!
- The topic ‘Update or add new list item from front end’ is closed to new replies.