/ Published in: PHP
Expand |
Embed | Plain Text
function getTheTerms($tax) { $args = array( 'taxonomy' => $tax, 'hide_empty' => 1 ); $terms = get_terms($tax, $args); foreach ($terms as $term) { ?> <?php } }//getTheTerms
You need to login to post a comment.
