← All changes
|
includes/Admin/Customizer/Controls/SelectControl.php
+13
-13
3.3.4
→
4.2.0
View file →
| @@ -5,22 +5,22 @@ | ||
| 5 | 5 | use WP_Customize_Control; |
| 6 | 6 | |
| 7 | 7 | class SelectControl extends WP_Customize_Control { |
| 8 | 8 | /** |
| 9 | - * Control name. | |
| 10 | - * @var string | |
| 11 | - */ | |
| 12 | - public $type = 'betterdocs-select'; | |
| 9 | + * Control name. | |
| 10 | + * @var string | |
| 11 | + */ | |
| 12 | + public $type = 'betterdocs-select'; | |
| 13 | 13 | |
| 14 | - /** | |
| 15 | - * Render the control's content. | |
| 16 | - * | |
| 17 | - * @version 1.0.0 | |
| 18 | - */ | |
| 19 | - public function render_content() { | |
| 20 | - if( empty( $this->choices ) ) { | |
| 14 | + /** | |
| 15 | + * Render the control's content. | |
| 16 | + * | |
| 17 | + * @version 1.0.0 | |
| 18 | + */ | |
| 19 | + public function render_content() { | |
| 20 | + if ( empty( $this->choices ) ) { | |
| 21 | 21 | return; |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | - betterdocs()->views->get( 'admin/customizer/controls/select', ['control' => $this] ); | |
| 25 | - } | |
| 24 | + betterdocs()->views->get( 'admin/customizer/controls/select', [ 'control' => $this ] ); | |
| 25 | + } | |
| 26 | 26 | } |