Fall back to $polylang->pref_lang for AJAX endpoint URL when $polylang->curlang is not available.
Fall back to $polylang->pref_lang for AJAX endpoint URL when $polylang->curlang is not available.

hyyan/woo-poly-integration,hyyan/woo-poly-integration,hyyan/woo-poly-integration