summaryrefslogtreecommitdiffstats
path: root/wp-includes/customize/class-wp-sidebar-block-editor-control.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/customize/class-wp-sidebar-block-editor-control.php')
-rw-r--r--wp-includes/customize/class-wp-sidebar-block-editor-control.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/wp-includes/customize/class-wp-sidebar-block-editor-control.php b/wp-includes/customize/class-wp-sidebar-block-editor-control.php
new file mode 100644
index 0000000..a2d1e4b
--- /dev/null
+++ b/wp-includes/customize/class-wp-sidebar-block-editor-control.php
@@ -0,0 +1,37 @@
+<?php
+/**
+ * Customize API: WP_Sidebar_Block_Editor_Control class.
+ *
+ * @package WordPress
+ * @subpackage Customize
+ * @since 5.8.0
+ */
+
+/**
+ * Core class used to implement the widgets block editor control in the
+ * customizer.
+ *
+ * @since 5.8.0
+ *
+ * @see WP_Customize_Control
+ */
+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.
+ }
+}