$value) { if (is_array($value)) { $data[$key] = convert_arabic_to_english_numbers($value); } elseif (is_string($value)) { // Convert Arabic digits to English $data[$key] = strtr($value, [ '' => '0', '' => '1', '' => '2', '' => '3', '' => '4', '' => '5', '' => '6', '' => '7', '' => '8', '' => '9', '' => '.' ]); } } } elseif (is_string($data)) { $data = strtr($data, [ '' => '0', '' => '1', '' => '2', '' => '3', '' => '4', '' => '5', '' => '6', '' => '7', '' => '8', '' => '9', '' => '.' ]); } return $data; } } // 4. Filter to prevent Localization from TranslatePress on numeric values add_filter('translate_string', function($translated, $original, $domain) { // If the value is numbers only or contains decimal points, don't translate if (preg_match('/^[\d.,]+$/', $original) && $domain !== 'woocommerce') { return $original; } return $translated; }, 10, 3); // ============================================ ?> } }) ]) } ]) } } } } } } } }) } }) } } } } } } } } } } } } } Elite JTR - Auto Parts & Accessories https://validator.w3.org/feed/docs/rss2.html Footer 6 Desktop 6 Desktop 1 Footer 1 Home Refund and Returns Policy Privacy Policy Contact us About us Blog Steering angle sensor: function, failure symptoms, and testing Radial vs Cross Ply Tyres: What’s The Difference? Post right sidebar banners Footer 4 Sidebar megamenu 2 Sidebar megamenu 4 Sidebar megamenu 1 Shop by brands Sidebar megamenu 5 Tabs Sidebar megamenu 7 Shop by categories Footer 2 Mobile Footer 5 Desktop 3 Product bottom banner Footer 3 Home Sidebar megamenu 9 Shop Description next banner Desktop 5 Blog Demos Desktop 4 After description banner Sample Page After post email subscribe Catalog Desktop 2 After post email subscribe (sidebar active) The number of new cars sold over 20 years Warning lights indicating activation of various systems What to know about changing the engine oil and oil filters Why diesel is losing its popularity in Europe Sidebar megamenu 8 Sidebar megamenu 6 Sidebar megamenu 3 Summary banner