[wp-trac] [WordPress Trac] #59383: Blocks: Introduce helper function to retrieve hooked blocks

WordPress Trac noreply at wordpress.org
Tue Sep 26 11:21:15 UTC 2023


#59383: Blocks: Introduce helper function to retrieve hooked blocks
-------------------------------------------------+-------------------------
 Reporter:  gziolo                               |       Owner:  gziolo
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.4
Component:  Themes                               |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests 2nd-        |     Focuses:
  opinion needs-dev-note gutenberg-merge         |
-------------------------------------------------+-------------------------

Comment (by Bernhard Reiter):

 @hellofromTonya FWIW, we've only recently introduced the term "Block
 Hooks" to denote this new feature, and the related/"reverse" concept of
 hooked blocks. I'm inclined to think that the name is obscure enough that
 it hasn't sprung up elsewhere in this context or a different one (as
 somewhat confirmed by your research).

 (My personal preference would be to omit the `wp_` prefix, but since I'm
 the one who first suggested the function name, mine shouldn't probably
 count as a second opinion :)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59383#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list