Skip navigation

Помечено: 

Эта тема содержит 0 ответ, имеет 1 голос.

Последнее обновление: Lucas 1 год назад.

При содействии: Dražen.

Автор Посты
21 июня, 2024 в 8:05 дп #15772192

Lucas

Background of the issue:
I am trying to: $term_query = new WP_Term_Query(array(
'taxonomy' => 'locations',
'hide_empty' => false,
'parent' => 0,
));
I didn't translate this term, Because I just want to get term of default lang for every Languages.

Symptoms:
But it always return empty, I think it try to get the current Language's term.

Questions:
How can I get this term for all Lang?