September 12, 2018 at 3:18 pm #57811
Okay, I guess I need to see the code where you are using this with your Gutenberg block.
Is this for a dynamic block? Could I see how you’re integrating this with the PHP for the dynamic block? Within that you should have access to the global $post if you need.