[wp-trac] [WordPress Trac] #63608: Hooked blocks not inserted
WordPress Trac
noreply at wordpress.org
Tue Jul 1 19:38:07 UTC 2025
#63608: Hooked blocks not inserted
--------------------------+------------------------------
Reporter: leewillis77 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 6.8
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by karthikeya01):
Hi @leewillis77
Thanks for raising the ticket. After reviewing and testing the information
provided in this article [https://make.wordpress.org/core/2023/10/15
/introducing-block-hooks-for-dynamic-blocks/], I found that Block Hooks
don't work within post content. Instead, they only function in templates,
template parts, and patterns defined by the theme.
Please refer to this:
https://make.wordpress.org/core/2023/10/15/introducing-block-hooks-for-
dynamic-
blocks/#:~:text=Block%20hooks%20are%20limited%20to%20templates%2C%20template%20parts%2C%20and%20patterns%20(i.e.%2C%20the%20elements%20that%20define%20the%20layout%20of%20the%20theme)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63608#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list