customize_partial_render

过滤钩子
apply_filters( 'customize_partial_render', $rendered, $partial, $container_context )
参数
  • (string|array|false) $rendered The partial value. Default false.
    Required:
  • (WP_Customize_Partial) $partial WP_Customize_Setting instance.
    Required:
  • (array) $container_context Optional array of context data associated with the target container.
    Required:
定义位置
相关勾子
customize_render_partials_responsecustomize_partial_render_partial-idcustomize_render_partials_aftercustomize_render_partials_beforecustomize_dynamic_partial_args
相关方法
is_customize_preview_wp_customize_includewp_customize_urlwp_customize_support_scriptwp_admin_bar_rendersanitize_sql_orderby
引入
4.5.0
弃用
-

customize_partial_render是WordPress的一个过滤器,它允许开发者在Customizer中修改局部的数据。局部是模板的一部分,可以使用Customizer API动态地更新。

过滤部分渲染。

$rendered = apply_filters( 'customize_partial_render', $rendered, $partial, $container_context );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2026-01-29 08:09:34

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: