Overwrite Bbpress class
I found a bug when using
WOOF (Woocommerce Product Filter). Indeed, when
bbpressis activated, when you want to filter products by
category, the WOOF’s widget disappears. With a lot of tests on multiples websites, I found this bug comes from
setup_variables()function when the attribute
apply_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 = 0and 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.
- You must be logged in to reply to this topic.