WP_Widget_Form_Customize_Control
- Since
- 3.9.0
- Source
wp-includes/customize/class-wp-widget-form-customize-control.php:17
Widget Form Customize Control class.
Compatibility
- WordPress
- since 3.9.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Properties · 8
$typestringpublic- Customize control type.
$widget_idstringpublic- Widget ID.
$widget_id_basestringpublic- Widget ID base.
$sidebar_idstringpublic- Sidebar ID.
$is_newboolpublic- Widget status.
$widthintpublic- Widget width.
$heightintpublic- Widget height.
$is_wideboolpublic- Widget mode.
Methods · 3
- to_json()Gather control params for exporting to JavaScript.
- render_content()Override render_content to be no-op since content is exported via to_json for deferred embedding.
- active_callback()Whether the current widget is rendered on the page.
Changelog
Introduced in 3.9.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, from
src/wp-includes/customize/class-wp-widget-form-customize-control.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.