Support

Account

Home Forums Gutenberg Get post ID from within update_value filter on Gutenberg block

Unread

Get post ID from within update_value filter on Gutenberg block

  • 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)

You must be logged in to reply to this topic.

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.