I have a custom taxonomy called product_category
. There are child terms 3 levels down.
They look like this:
Term1
Term2
Term3
When I am on the taxonomy page for Term1, I wish to use get_term_children()
to retrieve Term2, without retrieving Term3.
If that makes sense...
Can this be achieved with get_term_children() or is there another function I can use?