WP_Sidebar_Block_Editor_Control WordPress Class
The WP_Sidebar_Block_Editor_Control Wordpress class is responsible for managing block editor sidebar settings.
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. } }
Expand full source codeCollapse full source codeView on TracView on GitHub
Methods
- render_content— Render the widgets block editor container.
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |