Changes between Initial Version and Version 3 of Ticket #52138
- Timestamp:
- 01/08/2021 04:31:29 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #52138
- Property Keywords has-patch has-unit-tests added
-
Ticket #52138 – Description
initial v3 5 5 The attached patch seeks to follow with 2 new hooks: 6 6 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` call7 - 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 9 9 10 10 I'm 100% sure we need the first one. In terms of adding the second one I'm open to discussion since it might