gdtt_get_all_child_terms

gdtt_get_all_child_terms($taxonomy, $terms = array(), $return = "ids")

  • $taxonomy: taxonomy to process.
  • $terms: array with terms to get child terms from.
  • $return: set to ‘ids’ to return only term id’s or ‘terms’ to return full terms.

This function will return list of all child terms from input terms associated with taxonomy.

Comments

Leave a Reply