wphooks.info - customize_render_partials_response

customize_render_partials_response

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/customize/class-wp-customize-selective-refresh.php:
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
		 *     @type array $contents Associative array mapping a partial ID its corresponding array of contents
		 *                           for the containers requested.
		 *     @type array $errors   List of errors triggered during rendering of partials, if `WP_DEBUG_DISPLAY`
		 *                           is enabled.
		 * }
		 * @param WP_Customize_Selective_Refresh $this     Selective refresh component.
		 * @param array                          $partials Placements' context data for the partials rendered in the request.
		 *                                                 The array is keyed by partial ID, with each item being an array of
		 *                                                 the placements' context data.
		 */
		$response = apply_filters( 'customize_render_partials_response', $response, $this, $partials );

		wp_send_json_success( $response );
	}
}