This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Access translations via WordPress REST API
Started by: colbyH
in: English Support
Problem: /wp-json/wp/v2/pages/?lang=de If you need to check if the original content has translations, consider using PHP with the following WPML hooks:
Remember, each translation has its own ID, so you might need to query for the ID of the translated post to access specific translations. If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/. |
|
0 | 7 | 8 months, 1 week ago |