W3cubDocs

/WordPress

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

$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

File: wp-includes/customize/class-wp-customize-partial.php

View on Trac

Changelog

Version Description
4.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_partial_render_partial-id