[wp-trac] [WordPress Trac] #59346: General: Add `block_hooks` field to block types

WordPress Trac noreply at wordpress.org
Thu Sep 14 13:23:29 UTC 2023


#59346: General: Add `block_hooks` field to block types
-----------------------------+------------------------------
 Reporter:  Bernhard Reiter  |       Owner:  Bernhard Reiter
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  6.4
Component:  General          |     Version:
 Severity:  normal           |  Resolution:  fixed
 Keywords:  commit           |     Focuses:
-----------------------------+------------------------------
Changes (by Bernhard Reiter):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 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/59346#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list