WP_Customize_Nav_Menus::export_partial_rendered_nav_menu_instances( array $response )

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

Parameters Parameters


(array) (Required) Response.

Top ↑

Return Return

(array) Response.

Top ↑

Source Source

File: wp-includes/class-wp-customize-nav-menus.php

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

Top ↑

Changelog Changelog

Version Description
4.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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