Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #52138


Ignore:
Timestamp:
01/08/2021 04:31:29 PM (3 years ago)
Author:
gziolo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52138

    • Property Keywords has-patch has-unit-tests added
  • Ticket #52138 – Description

    initial v3  
    55The attached patch seeks to follow with 2 new hooks:
    66
    7 - Named `pre_register_block_type_from_metadata` to filter the content of metadata read from `block.json`
    8 - Named `post_register_block_type_from_metadata` to filter the settings object determined from the metadata that is passed to `register_block_type` call
     7- Named `block_type_metadata` to filter the content of metadata read from `block.json`
     8- Named `block_type_metadata_settings` to filter the settings object determined from the metadata that is passed to `register_block_type` call
    99
    1010I'm 100% sure we need the first one. In terms of adding the second one I'm open to discussion since it might