Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: customize_render_partials_after

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
414            * via the {@see 'customize_render_partials_response'} filter.
415            *
416            * @since 4.5.0
417            *
418            * @param WP_Customize_Selective_Refresh $this     Selective refresh component.
419            * @param array                          $partials Placements' context data for the partials rendered in the request.
420            *                                                 The array is keyed by partial ID, with each item being an array of
421            *                                                 the placements' context data.
422            */
423           do_action( 'customize_render_partials_after', $this, $partials );
424
425           $response = array(
426                'contents' => $contents,
427           );
428
429           if ( defined( 'WP_DEBUG_DISPLAY' ) && WP_DEBUG_DISPLAY ) {
430                $response['errors'] = $this->triggered_errors;
431           }
432