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