I've tried the
parse_blocks() function, however it returns all of the blocks. I'm needing to narrow it down to just the current block's ID. Is there a PHP function for that?
I'm needing get the unique ID for the block so I can set a transient.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community