customize_render_partials_after WordPress Action Hook
This hook is called after the default rendering of a partial template. It can be used to modify the partial before it is returned to the template.
do_action( 'customize_render_partials_after', WP_Customize_Selective_Refresh $refresh , array $partials ) #
Fires immediately after partials are rendered.
Description
Plugins may do things like call wp_footer() to scrape scripts output and return them via the ‘customize_render_partials_response’ filter.
Parameters
- $refresh
(WP_Customize_Selective_Refresh)Selective refresh component.
- $partials
(array)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.
Source
File: wp-includes/customize/class-wp-customize-selective-refresh.php
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |