Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: customize_render_partials_response

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
427            *                           for the containers requested.
428            *     @type array $errors   List of errors triggered during rendering of partials, if `WP_DEBUG_DISPLAY`
429            *                           is enabled.
430            * }
431            * @param WP_Customize_Selective_Refresh $refresh  Selective refresh component.
432            * @param array                          $partials Placements' context data for the partials rendered in the request.
433            *                                                 The array is keyed by partial ID, with each item being an array of
434            *                                                 the placements' context data.
435            */
436           $response = apply_filters( 'customize_render_partials_response', $response, $this, $partials );
437
438           wp_send_json_success( $response );
439      }
440 }
441