22 if( isset( $override_input ) ) {
27 foreach( $this->field[
'options'] as
$value =>
$label ) : ?>
28 <label
class=
"<?php echo $this->get_label_class(); ?>">
29 <input name=
"<?php echo esc_attr( $this->name ); ?>" id=
"<?php echo $this->get_field_id(); ?>-<?php echo esc_attr( $value ); ?>" type=
"radio" value=
"<?php echo esc_attr( $value ); ?>" <?php checked(
$value, $this->value,
true ); ?> /> <?php echo esc_html(
$label ); ?>
get_field_desc()
Retrieve field description.
render_input( $override_input=null)
Modify option field type by extending this class.
get_field_label()
Retrieve field label.