$TRP_LANGUAGE in REST request
-
Hi,
Is there a way to get the current language properly in REST requests?
$TRP_LANGUAGE is default on WP locale no matter how the switcher is set.
The only workaround found was to pass the language as a parameter to the REST request but it’s a bit tedious 🙁Thanks
Michael
The topic ‘$TRP_LANGUAGE in REST request’ is closed to new replies.