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 to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users