Unable to get the Parent Custom Taxonomy Terms
I figured it out I just have to add another argument and then it was working fine: $myterms = get_terms( ‘iqvis_event_category’, array( ‘parent’ => 0, ‘hide_empty’ => 0 ) ); echo ‘<pre>’; print_r($myterms); echo ‘</pre>’;