14 <label
for=
"<?php echo $this->get_field_id(); ?>" class=
"<?php echo $this->get_label_class(); ?>"><?php
16 echo
'<span class="gv-label">'.$this->get_field_label().
'</span>';
29 if( isset( $override_input ) ) {
35 <select name=
"<?php echo esc_attr( $this->name ); ?>[]" id=
"<?php echo $this->get_field_id(); ?>" multiple=
"multiple">
36 <?php
foreach( $this->field[
'options'] as
$value =>
$label ) : ?>
37 <option value=
"<?php echo esc_attr( $value ); ?>" <?php selected( in_array(
$value, (array)$this->value ),
true,
true ); ?>><?php echo esc_html(
$label ); ?></option>
get_field_desc()
Retrieve field description.
Display admin multiselect field type.
render_input( $override_input=null)
Modify option field type by extending this class.