דלג על הניווט

תגיות: 

נושא זה מכיל 0 1, יש ל 1קוֹל.

עודכן לאחרונה על ידי Lucas לפני 11 חודשים, 4 שבועות.

בסיוע: Dražen.

מחבר פוסטים
יוני 21, 2024 ב-8:05 am #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?