Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: customize_partial_render

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
236            * Filters partial rendering.
237            *
238            * @since 4.5.0
239            *
240            * @param string|array|false   $rendered          The partial value. Default false.
241            * @param WP_Customize_Partial $partial           WP_Customize_Setting instance.
242            * @param array                $container_context Optional array of context data associated with
243            *                                                the target container.
244            */
245           $rendered = apply_filters( 'customize_partial_render', $rendered, $partial, $container_context );
246
247           /**
248            * Filters partial rendering for a specific partial.
249            *
250            * The dynamic portion of the hook name, `$partial->ID` refers to the partial ID.
251            *
252            * @since 4.5.0
253            *
254            * @param string|array|false   $rendered          The partial value. Default false.