[wp-trac] [WordPress Trac] #59572: Block Hooks: Allow passing block definitions
WordPress Trac
noreply at wordpress.org
Tue Oct 10 11:12:08 UTC 2023
#59572: Block Hooks: Allow passing block definitions
-----------------------------+------------------------------
Reporter: Bernhard Reiter | Owner: Bernhard Reiter
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by gziolo):
That's an interesting idea. The syntax used should probably follow how
templates are shaped in PHP:
https://developer.wordpress.org/block-editor/reference-guides/block-api
/block-templates/#custom-post-types
It looks like it aligns with the example shared in the description.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59572#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list