Skip Navigation

This topic contains 0 replies, has 1 voice.

Last updated by tobiasA-22 3 months, 3 weeks ago.

Assisted by: Kor.

Author Posts
December 23, 2024 at 3:07 pm #16540818

tobiasA-22

Background of the issue:
I use the WordPress REST API to create and update posts. For new posts, I refer to https://developer.wordpress.org/rest-api/reference/posts/#create-a-post and to update posts, I use https://developer.wordpress.org/rest-api/reference/posts/#update-a-post. Everything is working fine. I can create a German post and an English post and update both posts via the REST API.

Symptoms:
The only thing that is missing is how to connect both languages together via the API. It's like using the WPML option + to add another language post. I find no property in the API result that includes the post ID from the other post.

Questions:
How can I connect two languages via the WordPress REST API? If I do the connection manually, I don't find a property in the API result that includes the post ID from the other post.

The topic ‘[Closed] How to connect two languages via the WordPress REST API?’ is closed to new replies.