Is there any way to get the current post ID that a block exists within when modifying a field’s value with the acf/update_value filter? I’m unable to get it via POST, GET, global $post, or get_the_ID().
Viewing 1 post (of 1 total)
The topic ‘Get post ID from within update_value filter on Gutenberg block’ is closed to new replies.
Welcome
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.