Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#59399 closed enhancement (wontfix)

Blocks: Implement `insert_hooked_blocks()`

Reported by: Bernhard Reiter Owned by: Bernhard Reiter
Priority: normal Milestone:
Component: General Version:
Severity: normal Keywords:
Cc: Focuses:

Description

For #59313, we need a function that will plug into parsed block tree traversal and serialization ([56620]). For each block traversed, it will obtain the list of all hooked blocks that use it as their anchor block (get_hooked_blocks, [56610]), and insert those hooked blocks into the parsed block tree (insert_inner_block, prepend_inner_block, append_inner_block, [56618]).

We'll tentatively call it insert_hooked_blocks.

Change History (1)

#1 @Bernhard Reiter
3 years ago

  • Milestone 6.4
  • Resolution → wontfix
  • Status assigned → closed

No longer required per [56649]. Closing as wontfix.

Note: See TracTickets for help on using tickets.