'Using tax_query in get_terms
i want to query my custom taxonomy which has a another custom taxonomy
$tag_id=1;
$txy="channels";
$args = array(
'taxonomy' => 'series',
'tax_query' => array(
array(
'taxonomy' => $txy,
'field' => 'term_id',
'terms' => $tag_id
)
)
);
$series =get_terms( $args );
but it seem to query everything
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
