field = $field; $this->value = $value; $this->unique = $unique; } public function output() { echo wp_kses_post( $this->element_before() ); $hidden = ( empty( $this->value ) ) ? ' hidden' : ''; $icon = ( !empty( $this->value ) ) ? ' class="'. cs_icon_class( $this->value ) . '"' : ''; echo '
'; echo wp_kses_post($this->element_after()); } }