How do you delete all the pending comments in WordPress

June 10, 2012   /   by Marco  / Categories :  Technology, Wordpress
delete pending comments plugin search

I fyou get annoyed at all the spammed comments in your WordPress and want to delete all these in one go then there are two options available to delete all the pending comments in your WordPress website. One way is to go into the mysql database via phpadmin and use an SQL statement and delete them all. The statement that you will need to use is:

DELETE FROM wp_comments WHERE comment_approved = 0

The other option is to install the pluging called “delete pending comments” (make sure you type comments with an s).  Using this plugin is so much easier than running an SQL statement via phpadmin.

delete pending comments plugin search

DO YOU LIKE WHAT YOU'VE READ?
Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!

Our Sponsors

  • Follow us:

OTHER ARTICLES YOU MAY LIKE


USING WP MAIL SMTP TO RECEIVE EMAIL LOGS

USING WP MAIL SMTP TO RECEIVE EMAIL LOGS

Remember the good old days when you could just go to a website and see what all your email addresses were? Those days are gone, unfortunately. One of the biggest problems for businesses and individuals is spam. Spammers send out millions of emails a day, hoping to catch people who are not expecting to receive […]

read more
HIDE THE WEATHER AND NEWS WIDGET IN THE WINDOWS 10 TASKBAR

HIDE THE WEATHER AND NEWS WIDGET IN THE WINDOWS 10 TASKBAR

You may have seen the Weather and News widget appear on your Windows 10 taskbar after a recent update and today, I’m going to show you how to hide the Weather and News Widget. The Windows 10 taskbar is the central component of the Windows operating system that shows all the open programs and their […]

read more

Subscribe

Receive the latest news and awesome deals via email

Like our Page

site auditing tools