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

WordPress Trac noreply at wordpress.org
Wed Jan 5 04:16:42 UTC 2022


#54684: Add ability to filter blocks in WP_Block_List
-------------------------+-----------------------------
 Reporter:  afragen      |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  6.0
Component:  Menus        |     Version:  5.5
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  administration
-------------------------+-----------------------------

Comment (by afragen):

 @hellofromTonya I looked at your example and it's not helping me achieve
 what I want. What I want is to be able to manipulate the menu items. This
 example only allows me to manipulate the block metadata, not the actual
 data.

 Can you give some sort of example that changes a menu item or adds one to
 the current homepage menu?

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


More information about the wp-trac mailing list