WP_Customize_Nav_Menu_Item_Control::json(): array

Return parameters for this control.


Return

array Exported parameters.


Top ↑

Source

File: wp-includes/customize/class-wp-customize-nav-menu-item-control.php. View all references

public function json() {
	$exported                 = parent::json();
	$exported['menu_item_id'] = $this->setting->post_id;

	return $exported;
}


Top ↑

Changelog

Changelog
Version Description
4.3.0 Introduced.

Top ↑

User Contributed Notes

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