Title: customize_partial_render_{$partial-&gt;id}
Published: April 12, 2016
Last modified: April 28, 2025

---

# apply_filters( “customize_partial_render_{$partial->id}”, string|array|false $rendered, WP_Customize_Partial $partial, array $container_context )

## In this article

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

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

Filters partial rendering for a specific partial.

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

The dynamic portion of the hook name, `$partial->ID` refers to the partial ID.

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

 `$rendered`string|array|false

The partial value. Default false.

`$partial`[WP_Customize_Partial](https://developer.wordpress.org/reference/classes/wp_customize_partial/)

[WP_Customize_Setting](https://developer.wordpress.org/reference/classes/wp_customize_setting/)
instance.

`$container_context`array

Optional array of context data associated with the target container.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/customize_partial_render_partial-id/?output_format=md#source)󠁿

    ```php
    $rendered = apply_filters( "customize_partial_render_{$partial->id}", $rendered, $partial, $container_context );
    ```

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

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

| Used by | Description | 
| [WP_Customize_Partial::render()](https://developer.wordpress.org/reference/classes/wp_customize_partial/render/)`wp-includes/customize/class-wp-customize-partial.php` |

Renders the template partial involving the associated settings.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/customize_partial_render_partial-id/?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_partial_render_partial-id%2F)
before being able to contribute a note or feedback.