WP_Sidebar_Block_Editor_Control{}└─ WP_Customize_Control
Core class used to implement the widgets block editor control in the customizer.
No Hooks.
Usage
$WP_Sidebar_Block_Editor_Control = new WP_Sidebar_Block_Editor_Control(); // use class methods
Methods
- public render_content()
Notes
- See: WP_Customize_Control
Changelog
| Since 5.8.0 | Introduced. |
WP_Sidebar_Block_Editor_Control{} WP Sidebar Block Editor Control{} code WP 7.0
class WP_Sidebar_Block_Editor_Control extends WP_Customize_Control {
/**
* The control type.
*
* @since 5.8.0
*
* @var string
*/
public $type = 'sidebar_block_editor';
/**
* Render the widgets block editor container.
*
* @since 5.8.0
*/
public function render_content() {
// Render an empty control. The JavaScript in
// @wordpress/customize-widgets will do the rest.
}
}