| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function html_input( $text ) { |
||
| 25 | |||
| 26 | $esc_text = esc_textarea( $text ); |
||
| 27 | $esc_meta_name = esc_attr( $this->meta_name ); |
||
| 28 | $html = <<<EOF |
||
| 29 | <div class="wl-input-wrapper"> |
||
| 30 | <textarea id="$esc_meta_name" class="$esc_meta_name" name="wl_metaboxes[$esc_meta_name][]" style="width:88%">$esc_text</textarea> |
||
| 31 | <button class="button wl-remove-input wl-button" type="button" style="width:10 % ">Remove</button> |
||
| 32 | </div> |
||
| 33 | EOF; |
||
| 34 | |||
| 35 | return $html; |
||
| 36 | } |
||
| 37 | } |
||
| 38 |