How do you delete all the pending comments in WordPress
June 10, 2012 / by Marco / Categories : Technology, Wordpress
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.
OTHER ARTICLES YOU MAY LIKE
SUPABASE BACKUP TUTORIAL: USE DBEAVER TO EXPORT YOUR DATABASE SAFELY
If you are building anything serious on Supabase, whether that is a client portal, a SaaS app, an internal dashboard, or even a small side project that is starting to get traction, having a reliable database backup process is one of those tasks that quickly moves from optional to essential. Supabase makes a lot of […]
read more
USE FUSEBASE TO AUTOMATE TEAMWORK AND COLLABORATION
If your business is growing, your team is juggling too many moving parts, and your client communication is spread across email threads, chat apps, documents, task boards, and endless follow ups, there is a good chance the real problem is not effort but fragmentation. Most businesses do not lose time because people are lazy. They […]
read more

