golden hour
/var/www/html/wp-content/plugins/yith-woocommerce-zoom-magnifier/plugin-fw/templates/fields
⬆️ Go Up
Upload
File/Folder
Size
Actions
ajax-customers.php
3.36 KB
Del
OK
ajax-posts.php
3.42 KB
Del
OK
ajax-products.php
609 B
Del
OK
ajax-terms.php
3.94 KB
Del
OK
buttons.php
958 B
Del
OK
checkbox-array.php
1.36 KB
Del
OK
checkbox.php
1.08 KB
Del
OK
colorpicker.php
1.23 KB
Del
OK
copy-to-clipboard.php
1.93 KB
Del
OK
country-select.php
2.38 KB
Del
OK
custom.php
295 B
Del
OK
customtabs.php
5.41 KB
Del
OK
date-format.php
3 KB
Del
OK
datepicker.php
868 B
Del
OK
dimensions.php
5.01 KB
Del
OK
hidden.php
1.04 KB
Del
OK
html.php
388 B
Del
OK
icons.php
2.5 KB
Del
OK
image-dimensions.php
1.3 KB
Del
OK
image-gallery.php
1.75 KB
Del
OK
inline-fields.php
2.41 KB
Del
OK
list-table.php
2.21 KB
Del
OK
multi-colorpicker.php
2.26 KB
Del
OK
multi-select.php
1.4 KB
Del
OK
number.php
1.2 KB
Del
OK
onoff.php
1.45 KB
Del
OK
password.php
1.06 KB
Del
OK
preview.php
769 B
Del
OK
radio.php
1.43 KB
Del
OK
resources
-
Del
OK
select-buttons.php
1.01 KB
Del
OK
select-images.php
2.26 KB
Del
OK
select-mailchimp.php
1.43 KB
Del
OK
select.php
2.49 KB
Del
OK
sep.php
347 B
Del
OK
sidebarlist.php
1.01 KB
Del
OK
sidebars.php
4.41 KB
Del
OK
simple-text.php
799 B
Del
OK
slider.php
1.9 KB
Del
OK
text-array.php
2.07 KB
Del
OK
text-button.php
1.6 KB
Del
OK
text.php
957 B
Del
OK
textarea-codemirror.php
1.17 KB
Del
OK
textarea-editor.php
2.03 KB
Del
OK
textarea.php
1.11 KB
Del
OK
title.php
771 B
Del
OK
toggle-element-fixed.php
3.31 KB
Del
OK
toggle-element.php
14.05 KB
Del
OK
upload.php
1.71 KB
Del
OK
Edit: onoff.php
<?php /** * Template for displaying the onoff field * * @var array $field The field. * @package YITH\PluginFramework\Templates\Fields */ defined( 'ABSPATH' ) || exit; // Exit if accessed directly. list ( $field_id, $class, $name, $std, $value, $custom_attributes, $data, $desc_inline ) = yith_plugin_fw_extract( $field, 'id', 'class', 'name', 'std', 'value', 'custom_attributes', 'data', 'desc-inline' ); ?> <div class="yith-plugin-fw-onoff-container <?php echo ! empty( $class ) ? esc_attr( $class ) : ''; ?>" <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?> > <input type="checkbox" id="<?php echo esc_attr( $field_id ); ?>" class="on_off" name="<?php echo esc_attr( $name ); ?>" value="<?php echo esc_attr( $value ); ?>" <?php if ( isset( $std ) ) : ?> data-std="<?php echo esc_attr( $std ); ?>" <?php endif; ?> <?php checked( true, yith_plugin_fw_is_true( $value ) ); ?> <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> /> <span class="yith-plugin-fw-onoff" data-text-on="<?php echo esc_attr_x( 'YES', 'YES/NO button: use MAX 4 characters!', 'yith-plugin-fw' ); ?>" data-text-off="<?php echo esc_attr_x( 'NO', 'YES/NO button: use MAX 4 characters!', 'yith-plugin-fw' ); ?>"></span> </div> <?php if ( isset( $desc_inline ) ) : ?> <span class='description inline'><?php echo wp_kses_post( $desc_inline ); ?></span> <?php endif; ?>
Save