WordPress.org

Ready to get started?Download WordPress

Forums

in_category (4 posts)

  1. fabioassis
    Member
    Posted 10 years ago #

    I've been looking for a good explanation about in_category and I can't find it anywhere.
    I found it on Matt's aside and in a few more places and functions, but no documentation in wiki.
    Can someone explain it to me, please?

  2. Beel
    Member
    Posted 10 years ago #

    Well, if you read his post on "asides" he states very plainly, "The function takes a single argument, a category ID, and it returns true if the current post is in that category."

  3. fabioassis
    Member
    Posted 10 years ago #

    Ok. Very plainly. :)

  4. Beel
    Member
    Posted 10 years ago #

    backatcha

Topic Closed

This topic has been closed to new replies.

About this Topic