block_type_metadata_settings

过滤钩子


参数
  • (array)
    $settings
    Array of determined settings for registering a block type.
    Required:
  • (array)
    $metadata
    Metadata provided for registering a block type.
    Required:
定义位置
  • wp-includes/blocks.php
    , line 498
引入
5.7.0
弃用

Filters the settings determined from the block type metadata.

$settings = apply_filters(