WP_Customize_Nav_Menus::export_partial_rendered_nav_menu_instances( array $response ): array

In this article

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

Parameters

$responsearrayrequired
Response.

Return

array Response.

Source

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

Changelog

VersionDescription
4.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.