customize_partial_render WordPress Filter Hook
The customize_partial_render hook is used to render a partial template for a Customizer setting. This hook is called when the Customizer is rendering a partial for a setting. The partial template is passed to the hook as an argument, and the setting ID is also passed as an argument.
apply_filters( 'customize_partial_render', string|array|false $rendered , WP_Customize_Partial $partial , array $container_context ) #
Filters partial rendering.
Parameters
- $rendered
(string|array|false)The partial value. Default false.
- $partial
(WP_Customize_Partial)WP_Customize_Setting instance.
- $container_context
(array)array of context data associated with the target container.
Source
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |