WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
232 | * Filters partial rendering. |
233 | * |
234 | * @since 4.5.0 |
235 | * |
236 | * @param string|array|false $rendered The partial value. Default false. |
237 | * @param WP_Customize_Partial $partial WP_Customize_Setting instance. |
238 | * @param array $container_context Optional array of context data associated with |
239 | * the target container. |
240 | */ |
241 | $rendered = apply_filters( 'customize_partial_render', $rendered, $partial, $container_context ); |
242 |
|
243 | /** |
244 | * Filters partial rendering for a specific partial. |
245 | * |
246 | * The dynamic portion of the hook name, `$partial->ID` refers to the partial ID. |
247 | * |
248 | * @since 4.5.0 |
249 | * |
250 | * @param string|array|false $rendered The partial value. Default false. |