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: radio.php
<?php /** * Template for displaying the radio field * * @var array $field The field. * @since 3.0.13 * @package YITH\PluginFramework\Templates\Fields */ defined( 'ABSPATH' ) || exit; // Exit if accessed directly. list ( $field_id, $class, $name, $value, $options, $custom_attributes, $data ) = yith_plugin_fw_extract( $field, 'id', 'class', 'name', 'value', 'options', 'custom_attributes', 'data' ); $class = isset( $class ) ? $class : ''; $class = 'yith-plugin-fw-radio ' . $class; ?> <div id="<?php echo esc_attr( $field_id ); ?>" class="<?php echo esc_attr( $class ); ?>" data-value="<?php echo esc_attr( $value ); ?>" data-type="radio" <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?> > <?php foreach ( $options as $key => $label ) : ?> <?php $radio_id = $field_id . '-' . sanitize_key( $key ); ?> <div class="yith-plugin-fw-radio__row"> <input type="radio" id="<?php echo esc_attr( $radio_id ); ?>" name="<?php echo esc_attr( $name ); ?>" value="<?php echo esc_attr( $key ); ?>" <?php checked( $key, $value ); ?> /> <label for="<?php echo esc_attr( $radio_id ); ?>"> <?php // HTML allowed! echo $label; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </label> </div> <?php endforeach; ?> </div>
Save