FEATURE: ability to register custom filters for posts (PR #12938)

Allow plugins to extend TopicView to filter posts


Maybe we should move this to setup_filtered_posts and have it only apply when filter != 'summary'? It would avoid the off chance that the plugin filtering would be triggered when the summary filter is active.

k we can try this, seems low risk, merge at will