value ) ) ? ' csf--active' : ''; $text_on = ( ! empty( $this->field['text_on'] ) ) ? $this->field['text_on'] : esc_html__( 'On', 'sakurairo_csf' ); $text_off = ( ! empty( $this->field['text_off'] ) ) ? $this->field['text_off'] : esc_html__( 'Off', 'sakurairo_csf' ); $text_width = ( ! empty( $this->field['text_width'] ) ) ? ' style="width: '. esc_attr( $this->field['text_width'] ) .'px;"': ''; echo $this->field_before(); echo '
'; echo ''. esc_attr( $text_on ) .''; echo ''. esc_attr( $text_off ) .''; echo ''; echo 'field_attributes() .' />'; echo '
'; echo ( ! empty( $this->field['label'] ) ) ? ''. esc_attr( $this->field['label'] ) . '' : ''; echo $this->field_after(); } } }