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.