WP_Sidebar_Block_Editor_Control
Core class used to implement the widgets block editor control in the customizer.
Description
See also
Source
File: wp-includes/customize/class-wp-sidebar-block-editor-control.php
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.
}
} Methods
- render_content — Render the widgets block editor container.
Changelog
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_sidebar_block_editor_control