- $topic_id: forum topic
- $product_id: product for topic discussion
Render topic from forum for discussion. First parameter is topic ID (set for the product on the product editor page). By default, function works for bbPress 2.0 forums. Write own function to handle this with different forums. This function is loaded only during templates rendering process.
Returns content for the topic.