Home › Forums › Feature Requests › Relationship Fields set as $post->post_parent › Reply To: Relationship Fields set as $post->post_parent
Not sure if you’re still looking for help with this or not, but I think all that is necessary is a way to set the parent post_id of the child and WP does the rest. I’m looking at this for future projects myself.
My thinking is to create an acf/save_post action http://www.advancedcustomfields.com/resources/acfsave_post/ that runs after the post has been saved and after the ACF action (priory > 10), get the value from the field and update the post to set the parent.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.