Skip Navigation

Tagged: 

This topic contains 0 replies, has 1 voice.

Last updated by Lucas 4 months, 3 weeks ago.

Assisted by: Dražen Duvnjak.

Author Posts
June 21, 2024 at 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?