Skip to content
Closed
Prev Previous commit
Next Next commit
Add @SInCE PHPDoc to register_block_type_from_metadata
  • Loading branch information
ockham committed Sep 14, 2023
commit e71e581496b6695f55461d0dd0c9dbc68d3c0029
1 change: 1 addition & 0 deletions src/wp-includes/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ function get_block_metadata_i18n_schema() {
* @since 5.9.0 Added support for `variations` and `viewScript` fields.
* @since 6.1.0 Added support for `render` field.
* @since 6.3.0 Added `selectors` field.
* @since 6.4.0 Added support for `blockHooks` field.
*
* @param string $file_or_folder Path to the JSON file with metadata definition for
* the block or path to the folder where the `block.json` file is located.
Expand Down