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



customize_partial_render_{$partial->id} › WordPress过滤钩子

Since4.5.0
已弃用n/a
apply_filters( "customize_partial_render_{$partial->id}", $rendered, $partial, $container_context )
参数: (3)
  • (string|array|false) $rendered The partial value. Default false.
    Required: Yes
  • (WP_Customize_Partial) $partial WP_Customize_Setting instance.
    Required: Yes
  • (array) $container_context Optional array of context data associated with the target container.
    Required: Yes
定义在:
文档:

Filters partial rendering for a specific partial.

The dynamic portion of the hook name, $partial->ID refers to the partial ID.





源码

$rendered = apply_filters( "customize_partial_render_{$partial->id}", $rendered, $partial, $container_context );