Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #60769, comment 3


Ignore:
Timestamp:
05/21/2024 09:09:56 AM (20 months ago)
Author:
tomjcafferkey
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60769, comment 3

    initial v1  
    44
    55We may also need to revisit the visitor functions and the callbacks they return since they all pass down `$hooked_blocks` which won't be necessary any longer if a new helper function will handle getting this value inside `insert_hooked_blocks` and `set_ignored_hooked_blocks_metadata` internally.
     6
     7I think modifying the visitor functions to accommodate a new helper function might be a better option since they're marked as `@private` and `get_hooked_blocks()` isn't.