field['radio'] ) ) ? 'radio' : 'checkbox'; $input_attr = ( $input_type == 'checkbox' ) ? '[]' : ''; echo $this->element_before(); if ( isset( $this->field['options'] ) ) { echo ''; } echo $this->element_after(); } } }