WP_Customize_Nav_Menu_Control::json

Advertisement

Summery Summery

Return parameters for this control.

Syntax Syntax

WP_Customize_Nav_Menu_Control::json()

Return Return

(array) Exported parameters.

Source Source

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;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.