1 | <?php |
||
15 | class Kirki_Field_Number extends Kirki_Field { |
||
16 | |||
17 | /** |
||
18 | * Sets the control type. |
||
19 | * |
||
20 | * @access protected |
||
21 | */ |
||
22 | protected function set_type() { |
||
27 | |||
28 | /** |
||
29 | * Sets the $sanitize_callback |
||
30 | * |
||
31 | * @access protected |
||
32 | */ |
||
33 | protected function set_sanitize_callback() { |
||
38 | |||
39 | /** |
||
40 | * Sets the $choices |
||
41 | * |
||
42 | * @access protected |
||
43 | */ |
||
44 | protected function set_choices() { |
||
59 | |||
60 | /** |
||
61 | * Sanitizes numeric values. |
||
62 | * |
||
63 | * @access public |
||
64 | * @param integer|string $value The checkbox value. |
||
65 | * @return bool |
||
66 | */ |
||
67 | public function sanitize( $value = 0 ) { |
||
85 | } |
||
86 |