WordPress.org

Ready to get started?Download WordPress

Forums

get_the_category objects - cat_ID or term_id (1 post)

  1. lonewolfonline
    Member
    Posted 6 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic