WP_Customize_Nav_Menu_Item_Control::json

Advertisement

Summery Summery

Return parameters for this control.

Syntax Syntax

WP_Customize_Nav_Menu_Item_Control::json()

Return Return

(array) Exported parameters.

Source Source

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

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

		return $exported;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply