element_before(); if( isset( $this->field['options'] ) ) { $options = $this->field['options']; $options = ( is_array( $options ) ) ? $options : array_filter( $this->element_data( $options ) ); if( ! empty( $options ) ) { echo 'element_class() .'>'; foreach ( $options as $key => $value ) { echo '
  • '; } echo ''; } } else { $label = ( isset( $this->field['label'] ) ) ? $this->field['label'] : ''; echo ''; } echo $this->element_after(); } }