Total Complexity | 6 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class Kirki_Field_Multicolor extends Kirki_Field { |
||
16 | |||
17 | /** |
||
18 | * Sets the control type. |
||
19 | * |
||
20 | * @access protected |
||
21 | */ |
||
22 | protected function set_type() { |
||
25 | |||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Sets the $choices |
||
30 | * |
||
31 | * @access protected |
||
32 | */ |
||
33 | protected function set_choices() { |
||
38 | } |
||
39 | |||
40 | } |
||
41 | |||
42 | /** |
||
43 | * Sets the $sanitize_callback |
||
44 | * |
||
45 | * @access protected |
||
46 | */ |
||
47 | protected function set_sanitize_callback() { |
||
55 | |||
56 | } |
||
57 | |||
58 | /** |
||
59 | * The method that will be used as a `sanitize_callback`. |
||
60 | * |
||
61 | * @param array $value The value to be sanitized. |
||
62 | * @return array The value. |
||
63 | */ |
||
64 | public function sanitize( $value ) { |
||
68 |