topic search question
Feel I’m going a little crazy with this…
the bb_has_topics function in bbp-topic-template has the following line:
// Topic Search
‘s’ => !empty( $_REQUEST ) ? $_REQUEST : ”,
I’ve assumed this is available to to filter the results, say I wanted all topics with the word ball in them.
$topics_query = array(‘s’ => $search_item);
if ( bbp_has_topics($topics_query)) : ?>
I’ve used terms I know exist, but it returns saying it can’t find anything every time.
You must be logged in to reply to this topic.