Uses
Uses | Description |
---|---|
wp-includes/class-wp-customize-control.php: WP_Customize_Control::json() | Get the data to export to the client via JSON. |
Return parameters for this control.
(array) Exported parameters.
File: wp-includes/customize/class-wp-customize-nav-menu-control.php
public function json() { $exported = parent::json(); $exported['menu_id'] = $this->setting->term_id; return $exported; }
Version | Description |
---|---|
4.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_nav_menu_control/json