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

In this article

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
$container_contextarray
Optional array of context data associated with the target container.

Source

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

Changelog

VersionDescription
4.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.