On this page
apply_filters( "customize_partial_render_{$partial->id}", string|array|false $rendered, WP_Customize_Partial $partial, array $container_context )
Filters partial rendering for a specific partial.
Description
The dynamic portion of the hook name, $partial->ID refers to the partial ID.
Parameters
$renderedstring|array|false-
The partial value. Default false.
$partialWP_Customize_Partial-
WP_Customize_Setting instance.
$container_contextarray-
array of context data associated with the target container.
Source
File: wp-includes/customize/class-wp-customize-partial.php. View all references
$rendered = apply_filters( "customize_partial_render_{$partial->id}", $rendered, $partial, $container_context );
Related
Used By
| Used By | Description |
|---|---|
| WP_Customize_Partial::render() wp-includes/customize/class-wp-customize-partial.php | Renders the template partial involving the associated settings. |
Changelog
| Version | Description |
|---|---|
| 4.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_partial_render_partial-id