customize_render_partials_before
动作钩子
do_action( 'customize_render_partials_before', $this, $partials )
- 参数
-
-
(WP_Customize_Selective_Refresh)
$refresh
Selective refresh component.- Required: 是
-
(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: 是
-
(WP_Customize_Selective_Refresh)
- 定义位置
-
-
wp-includes/customize/class-wp-customize-selective-refresh.php
, line 344
-
wp-includes/customize/class-wp-customize-selective-refresh.php
- 引入
- 4.5.0
- 弃用
- –
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 );
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。