customize_render_partials_after action-hook . WP 4.5.0
Fires immediately after partials are rendered.
Plugins may do things like call wp_footer() to scrape scripts output and return them via the 'customize_render_partials_response' filter.
Usage
add_action( 'customize_render_partials_after', 'action_function_name_8491', 10, 2 ); function action_function_name_8491( $this, $partials ){ // action... }
- $this(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.
Changelog
Since 4.5.0 | Introduced. |
Where the hook is called
wp-includes/customize/class-wp-customize-selective-refresh.php 392
do_action( 'customize_render_partials_after', $this, $partials );