/**v1.3.0 - 2026.03.27**/
- Updated: Optimize code

/**v1.2.13 - 2026.01.16**/
- Added: The wheel pointer's effect while spinning

/**v1.2.12 - 2025.12.26**/
- Updated: Compatibility with CURCY
- Updated: Compatibility with Translatepress
- Updated: Allow turning input fields on or off in the shortcode.

/**v1.2.11 - 2025.10.31**/
- Updated: Filter wlwl_replace_email_content to adjust the shortcode in the email
- Updated: Compatibility with WC 10.3

/**v1.2.10 - 2025.05.22**/
- Updated: Allow editing the customer name and phone number on the email's edit page
- Updated: Auto reset spins: Reset the total spins of every email to zero at a specific time

/**v1.2.9 - 2025.03.06**/
- Updated: Allow setting empty - not to limit the number of spins per email
- Fixed: Error reported by customer

/**v1.2.8 - 2025.02.13**/
- Updated: Filter _wlwl_email_render_header_site_info
- Fixed: mail APIs: Mailster

/**v1.2.7 - 2024.12.20**/
- Fixed: Export emails list
- Fixed: Error reported by customer
- Updated: Compatibility with WC9.5

/**v1.2.6 - 2024.11.28**/
- Added: Option help you can choose between using the plugin's default background image or replacing it with one of your own
– Updated: Remove the option 'Enable mobile' and add an option 'Small screen'
– Updated: Add 12 preset color palette selections for the wheel slides
– Updated: New design for settings page
- Updated: Compatibility with WC9.4 and WP6.7
- Fixed: Error reported by customer

/**v1.2.5 - 2024.11.02**/
- Fixed: Compatibility with WooCommerce Email Template Customizer/Email Template Customizer for WooCommerce plugin from VillaTheme

/**v1.2.4 - 2024.10.04**/
- Updated: Country code for phone number field

/**v1.2.3 - 2024.08.26**/
- Fixed: Fixed Brevo (SendInBlue) email api
- Updated: Compatibility with WC9.2.2 and WP6.6.1
- Updated: File support

/**v1.2.2 - 2024.05.27**/
- Updated: Compatibility with WC8.9.0
- Updated: File support

/**v1.2.1 - 2024.05.07**/
- Fixed: Email content win now fixed.
- Updated: File support

/**v1.2.0 - 2024.04.23**/
- Updated: Compatibility with WC8.7.0 and WP6.5
- Updated: New version email APIs: Klaviyo
- Updated: File support
- Fixed: Fixed api Mailchimp

/**v1.1.15 - 2024.01.05**/
- Updated: Compatible with FunnelKit
- Updated: Compatibility with WC8.4.0 and WP6.4

/**v1.1.14 - 2023.11.10**/
- Fixed: Fixed api Mailchimp
- Updated: Compatibility with WC8.2.0 and WP6.4

/**v1.1.13 - 2023.10.04**/
- Fixed: Not saving Sendy mail api.
- Update: Multi languages for Sendy list.
- Updated: Compatibility with WC8.1.0 and WP6.3

/**v1.1.12 - 2023.05.15**/
- Fixed: Filter hook custom font not working
- Fixed: Not remain the text format after saving.
- Updated: Update select font library
- Updated: Option whitelist and blacklist domain email
- Updated: Compatibility with WC7.7.0

/**v1.1.11 - 2023.03.08**/
- Updated: Compatibility with WC7.4.0
- Fixed: Google Captcha with shortcode

/**v1.1.10 - 2023.01.13**/
- Fixed: Fixed mail APIs: Sendy

/**v1.1.9 - 2023.01.06**/
- Updated: Compatibility with WC7.2.0
- Updated: Add mail APIs: Sendy

/**v1.1.8 - 2022.10.22**/
- Fixed: Added and changed the explanation of some options
- Added: Added hook name 'wlwl_filter_attribute_phone' to add attribute to number phone field, Default value :['type' => 'tel']
- Added: Added file languages
- Updated: Compatibility with WC7.0.0

/**v1.1.7 - 2022.07.11**/
- Fixed: Fixed style configuration in settings does not save
- Updated: Add mail APIs: Mailster

/**v1.1.6 - 2022.06.22**/
- Update: check update file
- Fixed: Mailchimp couldn't add subscription email
- Updated: Compatibility with WC6.6.0
- Updated: Added check validated phone number

/**v1.1.5 - 2022.06.06***/
- Fixed: Fixed security
- Updated: Compatibility with WC6.5.0
- Updated: Compatible with WP6.0
- Fixed: The wheel can spin even the required fields empty
- Added: Added filter hook for changing text font of wheel. Hook name: "wlwl_font_text_wheel"

/**v1.1.4 - 2022.03.29**/
- Updated: Update support file

/**v1.1.3 - 2022.03.22**/
- Updated: Update support file

/**v1.1.2 - 2022.03.09**/
- Updated: Mailchimp double opt-in
- Updated: Compatibility with WC6.3.0
- Updated: Able to spin with some format in email address

/**v1.1.1 - 2022.02.11**/
- Updated: Updated System status
- Updated: Updated google reCaptcha
- Updated: Compatibility with WP5.9 and WC6.2.0
- Fixed: Fixed couldn't connect SendinBlue

/**v1.1.0 - 2022.01.03**/
- Updated: Add mail APIs: Hubspot, MailPoet, Klaviyo, SendinBlue
- Updated: Compatibility with WC6.0.0

/**v1.0.9 - 2021.11.16**/
- Fixed: Fixed some shortcode errors in default content
- Fixed: Fixed couldn't connect sendgrid

/**v1.0.8.2 - 2021.10.01**/
- Fixed: Exclude sale items
- Fixed: Export emails

/**v1.0.8.1 - 2021.08.04**/
- Fixed: Allow free shipping
- Fixed: Export emails

/**v1.0.8 - 2020.10.27**/
- Added: Compatibility with WooCommerce Email Template Customizer/Email Template Customizer for WooCommerce plugin from VillaTheme
- Added: Ability to use each email for each slice
- Added: Ability to use each coupon settings/winning message for each slice for more flexible prizes
- Added: Ability to translate wheel labels to all other languages(WPML/Polylang)
- Added: Prize quantity
- Added: More background effects
- Added: Button "Apply coupon" if prize is a WooCommerce coupon
- Added: Winning message if prize is custom type
- Updated: Use weight instead of percentage so that probability can be more flexible

/**v1.0.7.4 - 2020.08.14**/
- Updated: Compatibility with WP5.5 and WC4.3
- Added: Custom popup icon

/**v1.0.7.3 - 2020.05.21**/
- Fixed: Shortcode

/**v1.0.7.2 - 2020.05.20**/
- Added: Custom footer text
- Added: Submit icon
- Added: Compatibility with Elementor
- Updated: Compatibility with WP 5.4 and WooCommerce 4.1
- Updated: Default background

/**v1.0.7.1 - 2019.11.16**/
- Updated: Compatibility with WP 5.3 and WooCommerce 3.8

/**v1.0.7 - 2019.08.03**/
- Added: Shortcode [woocommerce_lucky_wheel]
- Added: Change wheel speed
- Added: Send email to admin
- Added: Multilingual support

/**v1.0.6.4 - 2019.05.01**/
- Added: RTL support
- Added: Auto get key

/**v1.0.6.3 - 2019.01.17**/
- Added: Unique coupon include/exclude products/categories and option to set email restriction
- Added: Translation for German(from one of our customer)

/**v1.0.6.2 - 2019.01.03**/
- Added: Option to adjust the size of the wheel by percentage
- Added: Option to change text color of each slice

/**v1.0.6.1 - 2018.12.26**/
- Fixed: Some fields not saved
- Fixed: Mailchimp API

/**v1.0.6 - 2018.12.25**/
- Fixed: Translate coupon date expire "never expire"
- Fixed: Translate warning message
- Fixed: Class Support
- Fixed: Check SSL
- Fixed: Option Show only on Homepage, Blog page and Shop page
- Fixed: Blurry text on mobile
- Added: Custom field mobile
- Added: Option to select ajax endpoint
- Added: Custom css field
- Added: Option to show full wheel on desktop
- Added: Change font size of text on the wheel by %
- Added: Option to set color randomly from predefined sets for each visitor
- Added: Preview emails
- Added: Preview wheel
- Added: Background effect, Congratulation effect
- Updated: All wheel slices labels is editable
- Updated: Optimize getting data

/**v1.0.5.1 - 2018.09.20**/
- Fixed: Select coupon type
- Fixed: Assign page

/**v1.0.5 - 2018.09.08**/
- Fixed: Active purchased code
- Fixed: Ajax search products, categories
- Added: More trigger to show wheel
- Added: Displayed Currency option
- Added: Slices text color option
- Added: ActiveCampaign email api
- Added: Sendgrid email api
- Added: Option to set time to show popup again when customers close and do not spin
- Added: Shortcode {featured_products}, button {shop_now} and suggested products for emails with customizable title, url, color, background color and font size

/**v1.0.4.1 - 2018.07.24**/
- Updated: Class support
- Fixed: Some texts not translated
- Fixed: Purchased code not saved
- Added: GDPR checkbox

/**v1.0.4 - 2018.04.26**/
- Added: Select Google fonts
- Added: Class woocommerce-lucky-wheel-popup-icon to embed in elsewhere
- Fixed: Responsive on mobile

/**v1.0.3 - 2018.04.05**/
- Added: Existing coupon
- Changed: Spinning speed
- Changed: Wheel settings(back end)

/**v1.0.2 - 2018.03.30**/
- Changed: Option Hide on _page to Show only on _page
- Added: Turn close wheel option on/off
- Added: Page stage save when refresh(backend)
- Changed: Frontend inform result
- Changed: Popup icon

/**v1.0.1 - 2018.03.27**/
- Added: Automatically show wheel
- Added: Custom award type
- Added: Villatheme support
- Added: Wheel center background image
- Added: Frontend option to hide wheel
- Updated: Display currency symbol on slices

/**v1.0.0 - 2018.03.22**/
- First release.
