WPDev.one
Core Class

WP_Widget_Form_Customize_Control

class WP_Widget_Form_Customize_Control // Constructor: function Object() { [native code] }

Widget Form Customize Control class.

Methods 3 methods

Method / Return Description
to_json()
void

Gather control params for exporting to JavaScript.

render_content()
void

Override render_content to be no-op since content is exported via to_json for deferred embedding.

active_callback()
bool

Whether the current widget is rendered on the page.

Properties

Property / Type Description
$type
mixed
public
No description available.
$widget_id
mixed
public
No description available.
$widget_id_base
mixed
public
No description available.
$sidebar_id
mixed
public
No description available.
$is_new
mixed
public
No description available.
$width
mixed
public
No description available.
$height
mixed
public
No description available.
$is_wide
mixed
public
No description available.

Class Information

Since Version
3.9.0
Source File
wp-includes/customize/class-wp-widget-form-customize-control.php
Advertisement