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
- $response
-
(Required) Response.
Return
(array) Response.
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;
}
Changelog
Version | Description |
---|---|
WP-4.5.0 | Introduced. |