wpseek.com
WordPress开发者和主题制作者的搜索引擎



block_bindings_source_value › WordPress过滤钩子

Since6.7.0
已弃用n/a
› apply_filters( 'block_bindings_source_value', $value, $this->name, $source_args, $block_instance, $attribute_name )
参数: (5)
  • () value The computed value for the source.
    Required: Yes
  • () name The name of the source.
    Required: Yes
  • () source_args Array containing source arguments used to look up the override value, i.e. { "key": "foo" }.
    Required: Yes
  • () block_instance The block instance.
    Required: Yes
  • () attribute_name The name of an attribute.
    Required: Yes
定义在:
文档:

Filters the output of a block bindings source.





源码

return apply_filters( 'block_bindings_source_value', $value, $this->name, $source_args, $block_instance, $attribute_name );