T
T
Taras Parashchuk2021-05-22 21:12:32
WordPress
Taras Parashchuk, 2021-05-22 21:12:32

How to select woocommerce product ID original and translation (using Polylang plugin)?

Hello.

As you know, the Polylang plugin, when creating a translation of a product, creates a new product in which you write the translation.
Moreover, the list of goods displays a link to a translation in one language, and a translation in another language.
There was a need to display the product ID and the ID of its translation.
So, in which table is stored data about the ID of the original and the ID of the translation.
And how the hell do you do it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Taras Parashchuk, 2021-05-23
@taras1978

You need to look at the wp_term_taxonomy table, where `taxonomy` = 'post_translations'
description field.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question