Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #59385


Ignore:
Timestamp:
09/19/2023 12:03:02 PM (2 years ago)
Author:
Bernhard Reiter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59385 – Description

    initial v1  
    1 For #59313, we need to implement a function to insert a given hooked block into a location specified by an anchor block and a relative position (tentatively called `insert_hooked_block`), and another one to insert all registered hooked blocks for a given anchor block (tentatively called `insert_hooked_blocks`).
     1For #59313, we need to implement functions to insert a given parsed block into another parsed block's inner blocks, and to prepend and prepend to that array, respectively.
    22
    3 We will then use the latter in combination with `serialize_blocks`' new callback argument (see #59327) to implement automatic insertion of hooked blocks into block templates and patterns.
     3We will use those functions in combination with `traverse_and_serialize_blocks`' (see #59327) to implement automatic insertion of hooked blocks into block templates and patterns.