Hi, I’m looking at add a fairly advanced (in my estimation) feature to one of my plugins that basically will only display a subsection of page/post comments based on what information is on the page at the time. What I mean is this: If there is a list of 50 comments to a post/page, I want to be able to display only 10 of them based on a query to the database for a certain criterion. So what I need to know is what are the action/filter hooks that affect Comments before they are displayed and also what hooks are related to when a comment is placed (right before and right after). My overall desire is to “tag” a comment as it’s made, grab it’s id number after it’s placed in the database, then be able to display only the ones that match my tag when someone comes to look at the page. (the tags being a match to the database criterion for the page they are looking at).
I tried looking up comment action tags, but they aren’t well documented as far as I could find.
The topic ‘Comment action/filter hooks to prevent display of comment’ is closed to new replies.