Home › Forums › Gutenberg › How to get parent post ID in block template on edit screen? › Reply To: How to get parent post ID in block template on edit screen?
Thanks for the reply, Jelmertje. I actually linked to that post in my original post as I’ve been able to get that to work just fine, but can’t seem to get the parent post ID in the admin screen/editor no matter how hard I try, including trying to integrate wp_get_post_parent_id() with it somehow to get it in the admin screen.
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.