1 | <?php |
||
22 | class Kirki_Control_Slider extends Kirki_Control_Base { |
||
23 | |||
24 | /** |
||
25 | * The control type. |
||
26 | * |
||
27 | * @access public |
||
28 | * @var string |
||
29 | */ |
||
30 | public $type = 'kirki-slider'; |
||
31 | |||
32 | /** |
||
33 | * Refresh the parameters passed to the JavaScript via JSON. |
||
34 | * |
||
35 | * @see WP_Customize_Control::to_json() |
||
36 | */ |
||
37 | public function to_json() { |
||
44 | |||
45 | /** |
||
46 | * An Underscore (JS) template for this control's content (but not its container). |
||
47 | * |
||
48 | * Class variables for this control class are available in the `data` JS object; |
||
49 | * export custom variables by overriding {@see WP_Customize_Control::to_json()}. |
||
50 | * |
||
51 | * @see WP_Customize_Control::print_template() |
||
52 | * |
||
53 | * @access protected |
||
54 | */ |
||
55 | protected function content_template() { |
||
72 | } |
||
73 |