wp/wp-includes/customize/class-wp-sidebar-block-editor-control.php
changeset 18 be944660c56a
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
       
     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 /**
       
    11  * Core class used to implement the widgets block editor control in the
       
    12  * customizer.
       
    13  *
       
    14  * @since 5.8.0
       
    15  *
       
    16  * @see WP_Customize_Control
       
    17  */
       
    18 class WP_Sidebar_Block_Editor_Control extends WP_Customize_Control {
       
    19 	/**
       
    20 	 * The control type.
       
    21 	 *
       
    22 	 * @since 5.8.0
       
    23 	 *
       
    24 	 * @var string
       
    25 	 */
       
    26 	public $type = 'sidebar_block_editor';
       
    27 
       
    28 	/**
       
    29 	 * Render the widgets block editor container.
       
    30 	 *
       
    31 	 * @since 5.8.0
       
    32 	 */
       
    33 	public function render_content() {
       
    34 		// Render an empty control. The JavaScript in
       
    35 		// @wordpress/customize-widgets will do the rest.
       
    36 	}
       
    37 }