1
vote
1answer
79 views

Delete all one-word comments

I'm trying to delete all wordpress comments with only one word. I found this mysql query to delete all comments at once, but that's not what I want to achieve: DELETE FROM wp_comments WHERE ...
1
vote
2answers
178 views

How do I specify more than one category?

I am excluding comments from specific categories. However, when I try to exclude more than one, it doesn't work. This works: <?php if (!in_category('7')) comments_template(); ?> This does not ...
0
votes
2answers
1k views

Intercept comment form submit/list by hook/filter

I am writing a media plugin that uses custom tables to store its contents. (eg not the post tables where wordpress stores it attachment data). Now i'm looking for a way to use the default wordpress ...