By popular demand, I’m working on adding the ability to leave comments on a per-picture basis in Lazy-K Gallery. I have an idea on how to do it, but I’m still missing one piece of the puzzle. I haven’t spent an awful lot of time researching yet, but if someone knows the answer it would speed along my progress.
What I’m looking for is a WordPress API filter or action that would allow me to control which comments get displayed on a given WordPress page. In other words, suppose there are ten comments on a given page- I want to only display the ones that meet some criteria. I tried the “comment_text” filter, but that only let me control the actual text of the comment. The comment author, date, etc. cannot be modified. Perhaps “preprocess_comment” is what I’m looking for, but I haven’t found any good documentation on it just yet.
At any rate, I’ll keep working on the comments and hope to release a beta before too long if I can solve this problem.