[ Index ]

PHP Cross Reference of WordPress

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: 181 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. Arguments to override class property defaults.
since: 4.3.0

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

since: 4.3.0

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

since: 4.3.0

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

return: array Exported parameters.
since: 4.3.0



Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1