Overwrite Bbpress class
-
Hello,
I found a bug when using
bbrpess
andWOOF (Woocommerce Product Filter)
. Indeed, whenbbpress
is activated, when you want to filter products bycategory
, the WOOF’s widget disappears. With a lot of tests on multiples websites, I found this bug comes frombbpess.php
class onsetup_variables()
function when the attributetopic_tag_tax_id
getsapply_filters( 'bbp_topic_tag_tax_id', 'topic-tag' )
value. When you comment this line, the bug is solve.
As I don’t need tags on my Forum, I just need to set$this->topic_tag_tax_id = 0
and hide Topic tags form.But Here is my final problem : How can I overwrite this class because it’s not a template but the plugin file ?
PS : I tried every possibilities (plugins versions, select another theme, change product database, catch network and files errors), the bug really comes from here as strange as it may seem.
Cheers,
TomCrise
- You must be logged in to reply to this topic.