function qmt_get_terms($tax) { _deprecated_function(__FUNCTION__, '1.4'); if (is_archive()) { return QMT_Terms::get($tax); } else { return get_terms($tax); } }
private function get_terms($tax) { if (is_taxonomy_hierarchical($tax) || $this->all_terms) { return get_terms($tax); } else { return QMT_Terms::get($tax); } }