Background of the issue:
I have custom taxonomy using Toolset plugin and one item with translations. The URLs for the items are hidden link and hidden link. I want to find the connection between them (different translations of one item) via API.
Symptoms:
No documentation found on the topic.
Questions:
How to get a connection between translations of custom taxonomy via API?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
Sadly WPML does not yet fully support the WordPress REST API, but you are able to use a language parameter, if you need to check for content created in a second language.
Example for English Posts: hidden link
There is no connection between original content and translation inside the REST API.
With WPML each translation has its own ID. The following hook allows you to the ID of a content in the current language or in another language defined as argument:
The topic ‘[Closed] How to get a connection between translations of custome taxonomy via API’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.