Title: customize_render_partials_after
Published: April 12, 2016
Last modified: May 20, 2026

---

# do_action( ‘customize_render_partials_after’, WP_Customize_Selective_Refresh $refresh, array $partials )

## In this article

 * [Description](https://developer.wordpress.org/reference/hooks/customize_render_partials_after/?output_format=md#description)
 * [Parameters](https://developer.wordpress.org/reference/hooks/customize_render_partials_after/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/customize_render_partials_after/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/customize_render_partials_after/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/customize_render_partials_after/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/customize_render_partials_after/?output_format=md#wp--skip-link--target)

Fires immediately after partials are rendered.

## 󠀁[Description](https://developer.wordpress.org/reference/hooks/customize_render_partials_after/?output_format=md#description)󠁿

Plugins may do things like call [wp_footer()](https://developer.wordpress.org/reference/functions/wp_footer/)
to scrape scripts output and return them via the [‘customize_render_partials_response’](https://developer.wordpress.org/reference/hooks/customize_render_partials_response/)
filter.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/customize_render_partials_after/?output_format=md#parameters)󠁿

 `$refresh`[WP_Customize_Selective_Refresh](https://developer.wordpress.org/reference/classes/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](https://developer.wordpress.org/reference/hooks/customize_render_partials_after/?output_format=md#source)󠁿

    ```php
    do_action( 'customize_render_partials_after', $this, $partials );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/customize/class-wp-customize-selective-refresh.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/customize/class-wp-customize-selective-refresh.php#L393)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/customize/class-wp-customize-selective-refresh.php#L393-L393)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/customize_render_partials_after/?output_format=md#related)󠁿

| Used by | Description | 
| [WP_Customize_Selective_Refresh::handle_render_partials_request()](https://developer.wordpress.org/reference/classes/wp_customize_selective_refresh/handle_render_partials_request/)`wp-includes/customize/class-wp-customize-selective-refresh.php` |

Handles the Ajax request to return the rendered partials for the requested placements.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/customize_render_partials_after/?output_format=md#changelog)󠁿

| Version | Description | 
| [4.5.0](https://developer.wordpress.org/reference/since/4.5.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fcustomize_render_partials_after%2F)
before being able to contribute a note or feedback.