class-wp-sidebar-block-editor-control.php 686 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. * Customize API: WP_Sidebar_Block_Editor_Control class.
  4. *
  5. * @package WordPress
  6. * @subpackage Customize
  7. * @since 5.8.0
  8. */
  9. /**
  10. * Core class used to implement the widgets block editor control in the
  11. * customizer.
  12. *
  13. * @since 5.8.0
  14. *
  15. * @see WP_Customize_Control
  16. */
  17. class WP_Sidebar_Block_Editor_Control extends WP_Customize_Control {
  18. /**
  19. * The control type.
  20. *
  21. * @since 5.8.0
  22. *
  23. * @var string
  24. */
  25. public $type = 'sidebar_block_editor';
  26. /**
  27. * Render the widgets block editor container.
  28. *
  29. * @since 5.8.0
  30. */
  31. public function render_content() {
  32. // Render an empty control. The JavaScript in
  33. // @wordpress/customize-widgets will do the rest.
  34. }
  35. }