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: icons.php
<?php /** * Template for displaying the icons field * * @var array $field The field. * @package YITH\PluginFramework\Templates\Fields */ defined( 'ABSPATH' ) || exit; // Exit if accessed directly. list ( $field_id, $name, $filter_icons, $std, $value ) = yith_plugin_fw_extract( $field, 'id', 'name', 'filter_icons', 'std', 'value' ); wp_enqueue_style( 'font-awesome' ); $filter_icons = ! ! $filter_icons ? $filter_icons : ''; $default_icon_text = isset( $std ) ? $std : false; $default_icon_data = YIT_Icons()->get_icon_data( $default_icon_text, $filter_icons ); $current_icon_data = YIT_Icons()->get_icon_data( $value, $filter_icons ); $current_icon_text = $value; $yit_icons = YIT_Icons()->get_icons( $filter_icons ); ?> <div id="yit-icons-manager-wrapper-<?php echo esc_attr( $field_id ); ?>" class="yit-icons-manager-wrapper"> <div class="yit-icons-manager-text"> <div class="yit-icons-manager-icon-preview" <?php echo $current_icon_data; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> ></div> <input class="yit-icons-manager-icon-text" type="text" id="<?php echo esc_attr( $field_id ); ?>" name="<?php echo esc_attr( $name ); ?>" value="<?php echo esc_attr( $current_icon_text ); ?>" /> <div class="clear"></div> </div> <div class="yit-icons-manager-list-wrapper"> <ul class="yit-icons-manager-list"> <?php foreach ( $yit_icons as $font => $icons ) : ?> <?php foreach ( $icons as $key => $icon_name ) : ?> <?php $data_icon = str_replace( '\\', '&#x', $key ); $icon_text = $font . ':' . $icon_name; $icon_class = $icon_text === $current_icon_text ? 'active' : ''; $icon_class .= $icon_text === $default_icon_text ? ' default' : ''; ?> <li class="<?php echo esc_attr( $icon_class ); ?>" data-font="<?php echo esc_attr( $font ); ?>" data-icon="<?php echo $data_icon; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" data-key="<?php echo esc_attr( $key ); ?>" data-name="<?php echo esc_attr( $icon_name ); ?>"></li> <?php endforeach; ?> <?php endforeach; ?> </ul> </div> <div class="yit-icons-manager-actions"> <?php if ( $default_icon_text ) : ?> <div class="yit-icons-manager-action-set-default button"><?php esc_html_e( 'Set Default', 'yith-plugin-fw' ); ?> <i class="yit-icons-manager-default-icon-preview" <?php echo esc_html( $default_icon_data ); ?>></i> </div> <?php endif ?> </div> </div>
Save