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



customize_render_partials_before › WordPress动作钩子

Since4.5.0
已弃用n/a
do_action( 'customize_render_partials_before', $this, $partials )
参数: (2)
  • (WP_Customize_Selective_Refresh) $refresh Selective refresh component.
    Required: Yes
  • (array) $partials Placements' context data for the partials rendered in the request. The array is keyed by partial ID, with each item being an array of the placements' context data.
    Required: Yes
定义在:
文档:

Fires immediately before partials are rendered.

Plugins may do things like call wp_enqueue_scripts() and gather a list of the scripts and styles which may get enqueued in the response.





源码

do_action( 'customize_render_partials_before', $this, $partials );