[wp-trac] [WordPress Trac] #59313: Implement Block Hooks
WordPress Trac
noreply at wordpress.org
Thu Sep 14 13:23:29 UTC 2023
#59313: Implement Block Hooks
-------------------------------------------------+-------------------------
Reporter: Bernhard Reiter | Owner: Bernhard
| Reiter
Type: enhancement | Status: assigned
Priority: high | Milestone: 6.4
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch gutenberg-merge has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by Bernhard Reiter):
In [changeset:"56587" 56587]:
{{{
#!CommitTicketReference repository="" revision="56587"
General: Add `block_hooks` field to block type registration, REST API.
In order to implement Block Hooks, we need to add a new `block_hooks`
field to the `WP_Block_Type` class, as well as to block registration
related functions, the block types REST API controller, etc.
Props gziolo.
Fixes #59346. See #59313.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59313#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list