/home/techb158/l2hypotheques.com/wp-content/plugins/codestar-framework/fields/switcher
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/codestar-framework/fields/switcher/switcher.php (1546B)
value ) ) ? ' csf--active' : '';
$text_on = ( ! empty( $this->field['text_on'] ) ) ? $this->field['text_on'] : esc_html__( 'On', 'csf' );
$text_off = ( ! empty( $this->field['text_off'] ) ) ? $this->field['text_off'] : esc_html__( 'Off', '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();
}
}
}