Usage: Add this snippet to your WordPress theme's functions.php or a custom plugin to update WooCommerce attribute and term slugs.
Features:
- Transliterate Cyrillic to Latin for attribute slugs (e.g., pa_цвет -> pa_cvet)
- Update term slugs (e.g., красный -> krasnyj)
- Preserve original attribute and term names
- One-time execution with option check
- Uses standard WooCommerce/WP functions with proper cache handling
Instructions: