0

I want to add more than one taxonomy.
i tried get_terms( 'CUSTOM_TAXONOMY','CUSTOM_TAXONOMY-2', array but second tax not work

    $i                 = 1;
// get the terms you need
$terms        = get_terms( 'CUSTOM_TAXONOMY', array('orderby' => 'count', 'order' => 'DESC', 'hide_empty' => 0 ) );
0

i fixed

 $terms = get_terms([
    'taxonomy' => array('bank','dovlet_qurumu'),
    'hide_empty' => false,
]); her

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.