Opened 2 years ago
Last modified 2 years ago
#3489 new feature request
No filter to disable single topic description exists
Reported by: | naxoc | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Component - Topics | Keywords: | |
Cc: | naxoc |
Description
There is currently no way to avoid calculating all the stats for the "This topic has x replies, x voice and was last updated x mins by x." above forums. There is already a filter to _alter_ it, but no way to avoid doing all those calculations.
Well, yes. There is a way by removing the call to bbp_single_topic_description()
from templates, but it would be nice to be able to filter if it should happen.
This patch adds a bbp_use_single_topic_description
filter that is checked before starting calling the function that gathers the data.
See this ticket that is very similar: https://bbpress.trac.wordpress.org/ticket/3488 ( I pretty much copy pasted the text from there :) )