1 | <?php |
||
15 | class Kirki_Field_Image extends Kirki_Field { |
||
16 | |||
17 | /** |
||
18 | * Sets the control type. |
||
19 | * |
||
20 | * @access protected |
||
21 | */ |
||
22 | protected function set_type() { |
||
27 | |||
28 | /** |
||
29 | * Set the choices. |
||
30 | * Adds a pseudo-element "controls" that helps with the JS API. |
||
31 | * |
||
32 | * @access protected |
||
33 | */ |
||
34 | protected function set_choices() { |
||
43 | |||
44 | /** |
||
45 | * Sets the $sanitize_callback |
||
46 | * |
||
47 | * @access protected |
||
48 | */ |
||
49 | protected function set_sanitize_callback() { |
||
59 | |||
60 | /** |
||
61 | * The sanitize method that will be used as a falback |
||
62 | * |
||
63 | * @param string|array $value The control's value. |
||
64 | */ |
||
65 | public function sanitize( $value ) { |
||
83 | } |
||
84 |