Support » Themes and Templates » get_the_category objects – cat_ID or term_id

  • When get_the_category returns a list of objects should I be using cat_ID or term_id or doesn’t it make a difference?

    Documentation states:

    Member Variables
    cat_ID
    the category id (also stored as ‘term_id’)

    But isn’t clear which one to use.
    Thanks

  • The topic ‘get_the_category objects – cat_ID or term_id’ is closed to new replies.