bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Determine topic's status

(3 posts)
  • Started 1 year ago by LordCoder
  • Latest reply from LordCoder
  • This topic is not a support question

Tags:

  1. LordCoder
    Member

    Hello ,

    how to get topic's status ?

    I mean something like Resolved , Not a support question ...

    Thanks ,

    Bouazza .

    Posted 1 year ago #
  2. The function topic_resolved() echo's back whether the topic is resolved, not resolved, or not a support question. You can even change what it echo's by passing strings to the function.

    Otherwise you want the function get_topic_resolved($id) which will return yes, no, or mu (for it is resolved, it's not resolved, or it's not a support question).

    But if you don't like that method, you can always get it straight from the database... it's just more work for the server that way.

    Posted 1 year ago #
  3. LordCoder
    Member

    Thanks ardenfrost , i ill use get_topic_resolved .

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.