Plugin filter for comments
|Reported by:||majelbstoat||Owned by:||majelbstoat|
It would be useful to be able to process the array of comments in comments_template before they are sent to a theme. This would make it possible for plugins to selectively remove comments based on criteria, or merge comments from multiple posts (which is the case I'm particularly interested in). The attached patch passes the array of comments and the post id to a filter, 'comments_array', so that plugins can play around.