| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function build_field_html( $key, $setting, $label ) { |
||
| 29 | $value = ''; |
||
| 30 | |||
| 31 | if ( isset( $this->settings[ $key ] ) ) { |
||
| 32 | $value = $this->settings[ $key ]->value(); |
||
| 33 | } |
||
| 34 | |||
| 35 | $this->html[] = '<div><label>' . $label . '<br /><input type="number" value="' . esc_attr( $value ) . '" ' . $this->get_link( $key ).' /></label> |
||
| 36 | <p>' . $this->description . '</p></div>'; |
||
| 37 | } |
||
| 38 | |||
| 67 |