[wp-trac] [WordPress Trac] #54684: Add ability to filter blocks in WP_Block_List

WordPress Trac noreply at wordpress.org
Thu Dec 23 00:37:54 UTC 2021


#54684: Add ability to filter blocks in WP_Block_List
----------------------------+-----------------------------
 Reporter:  afragen         |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Menus           |    Version:  trunk
 Severity:  normal          |   Keywords:  has-patch
  Focuses:  administration  |
----------------------------+-----------------------------
 There currently doesn't seem to be a simple way to add/modify blocks that
 are produced by the `class WP_Block_List`. Blocks passed to this class are
 used in menus in `wp-includes/blocks/navigation.php`.

 A filter in the constructor would be a nice addition.

 Naming is hard.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54684>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list