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



get_block_type_uses_context › WordPress过滤钩子

Since6.5.0
已弃用n/a
apply_filters( 'get_block_type_uses_context', $this->uses_context, $this )
参数: (2)
  • (array) $uses_context Array of registered uses context for a block type.
    Required: Yes
  • (WP_Block_Type) $block_type The full block type object.
    Required: Yes
定义在:
文档:

Filters the registered uses context for a block type.





源码

return apply_filters( 'get_block_type_uses_context', $this->uses_context, $this );