gdtt_is_term($term = '', $taxonomy = '')

  • $term: term name, term id or term slug to check, it can be array with these.
  • $taxonomye: taxonomy where the term belongs, it can be array with taxonomies

Check if the current page is term archive. Its different from WordPress is_tax() function, because it will check only real term archive pages, and it will return false if the page is taxonomy archive.


Leave a Reply