Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | protected function set_choices() { |
||
24 | $default_args = array( |
||
25 | 'controls' => array( |
||
26 | 'top' => ( isset( $this->default['top'] ) ), |
||
27 | 'bottom' => ( isset( $this->default['top'] ) ), |
||
28 | 'left' => ( isset( $this->default['top'] ) ), |
||
29 | 'right' => ( isset( $this->default['top'] ) ), |
||
30 | ), |
||
31 | 'labels' => array( |
||
32 | 'top' => esc_html__( 'Top', 'kirki' ), |
||
33 | 'bottom' => esc_html__( 'Bottom', 'kirki' ), |
||
34 | 'left' => esc_html__( 'Left', 'kirki' ), |
||
35 | 'right' => esc_html__( 'Right', 'kirki' ), |
||
36 | ), |
||
37 | ); |
||
38 | |||
39 | $this->choices = wp_parse_args( $this->choices, $default_args ); |
||
40 | } |
||
42 |