Say I have some block that I want rendered dynamically. That leads to questions:
- For dynamic blocks I take it we have to guarantee that the attributes are in the JSON in the comments delimiter?
- Endpoints: Here is where I am really confused. For dynamic block rendering we are supposed to specify a PHP callback. Is that to be called by a restAPI endpoint (in which case do we have to set show_in_rest to true for dynamic blocks?) or is there a separate mechanism?
Just looking for some clarification on these points.