apply_filters( 'customize_partial_render', string|array|false $rendered, WP_Customize_Partial $partial, array $container_context )
- Since
- 4.5.0
Filters partial rendering.
Compatibility
- WordPress
- since 4.5.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$renderedstring|array|false- The partial value. Default false.
$partialWP_Customize_Partial- WP_Customize_Setting instance.
$container_contextarray- Optional array of context data associated with the target container.
Where this hook fires · 1
wp-includes/customize/class-wp-customize-partial.php:246WP_Customize_Partial::render()
Source code
* * @param string|array|false $rendered The partial value. Default false. * @param WP_Customize_Partial $partial WP_Customize_Setting instance. * @param array $container_context Optional array of context data associated with * the target container. */ $rendered = apply_filters( 'customize_partial_render', $rendered, $partial, $container_context ); /** * Filters partial rendering for a specific partial. * * The dynamic portion of the hook name, `$partial->ID` refers to the partial ID. *Changelog
Introduced in 4.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.9.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.