Support

Account

Forum Replies Created

  • I am very glad to hear the field keys are stable! I’ll eventually do some experiments to set up a custom API endpoint to retrieve field metadata based on field group and/or name, and will relay what I find if the ACF keys are accessible in a different manner for blocks. I hope that’s more of a surface level distinction on the location rules for the field group. I wonder if anyone has made the acf-field-group and acf-field CPTs accessible via the REST API? ty for your help!

  • Thank you, @hube2, this is super helpful and I really appreciate you taking the time to walk me through the internal data structures. I had gleaned a few of these points from your other posts in the forum, but this really pulls it all together.

    One last question: are group/field keys stable (e.g., all references to a particular block type attribute/field are identical, regardless of post or block instance w/in a post) or are they dynamic per post/block?

    I hope this is useful information for others in the future, and thank you for all you do!

  • Noting that the WP block-types endpoint would seem to be a good place for this data to live, but no detail is included by default in the attributes field. There’s a data item but it just specifies:

    "data": {"type": "object", "default": []},

Viewing 3 posts - 1 through 3 (of 3 total)