[Resolved] Get ID of both parent & child from intermediary post
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I am running a function upon submitting a form that edits custom fields on an intermediary post.
I would like to create an additional function to work with custom fields that exist in both the parent and the child of this relationship that runs when submitting the form.
I need to retrieve the post IDs of the parent and child on the intermediary post the function is running on. I am very clear on how to gather the parent and child ID on a one to many relationship, but this intermediary post issue is quite confusing.
So put simply, I need to know the proper code to get the parent ID and child ID of the current intermediary post.