[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

/wp-includes/customize/ -> class-wp-customize-nav-menu-item-control.php (summary)

Customize API: WP_Customize_Nav_Menu_Item_Control class

File Size: 168 lines (7 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_Customize_Nav_Menu_Item_Control:: (4 methods):
  __construct()
  render_content()
  content_template()
  json()


Class: WP_Customize_Nav_Menu_Item_Control  - X-Ref

Customize control to represent the name field for a given menu.

__construct( $manager, $id, $args = array()   X-Ref
Constructor.

param: WP_Customize_Manager $manager Customizer bootstrap instance.
param: string               $id      The control ID.
param: array                $args    Optional. Overrides class property defaults.

render_content()   X-Ref
Don't render the control's content - it's rendered with a JS template.


content_template()   X-Ref
JS/Underscore template for the control UI.


json()   X-Ref
Return parameters for this control.

return: array Exported parameters.



Generated: Tue Oct 22 08:20:01 2019 Cross-referenced by PHPXref 0.7