WordPress at a glance
function is not described

WP_Customize_Nav_Menus::export_partial_rendered_nav_menu_instances() public WP 4.5.0

Export any wp_nav_menu() calls during the rendering of any partials.

{} It's a method of the class: WP_Customize_Nav_Menus{}

No Hooks.

Return

Array. Response.

Usage

$WP_Customize_Nav_Menus = new WP_Customize_Nav_Menus();
$WP_Customize_Nav_Menus->export_partial_rendered_nav_menu_instances( $response );
$response(array) (required)
Response.

Changelog

Since 4.5.0 Introduced.

Code of WP_Customize_Nav_Menus::export_partial_rendered_nav_menu_instances() WP 5.7

<?php
public function export_partial_rendered_nav_menu_instances( $response ) {
	$response['nav_menu_instance_args'] = $this->preview_nav_menu_instance_args;
	return $response;
}