How to Manage and Delete Flamingo Contact Form Entries
Content
If you use the Flamingo plugin to store Contact Form 7 submissions, you've likely encountered a common challenge: managing and deleting a large number of messages. This is especially important for site performance and adhering to data retention policies like GDPR. This guide explains how Flamingo stores data and provides the safest methods for bulk deletion.
How Flamingo Stores Your Data
Flamingo uses the WordPress database structure. Each inbound message and contact is stored as a custom post type. This means your submissions are primarily located in two tables:
wp_posts(withpost_typevalues likeflamingo_inboundorflamingo_contact)wp_postmeta(which stores additional metadata for each entry)
Understanding this is key to managing your data effectively.
Common Issues with Bulk Deletion
Users often report two main problems when trying to clean up their Flamingo data:
- Missing "Empty Trash" Button: The user interface within the WordPress admin may not always show the bulk action options, making it impossible to delete large numbers of messages at once.
- Server Timeouts: Attempting to delete thousands of entries through the admin screen can overload your server, causing the process to fail or drastically slow down your site.
Automatic Deletion Behavior
It's important to note that Flamingo itself does not automatically delete messages. However, messages that have been moved to Trash may be subject to WordPress's built-in automatic trash emptying schedule, which typically purges items after 30 days. Spam messages handled by Akismet may also have their own automatic deletion schedule.
Safe Methods for Deleting Flamingo Data
Method 1: Using the Flamingo Admin Interface (For Small Batches)
For a smaller number of entries, you can delete them directly from the WordPress admin area.
- Navigate to Flamingo in your admin menu.
- Go to Inbound Messages or Address Book.
- Select the items you want to remove.
- Choose Move to Trash from the "Bulk Actions" dropdown and click Apply.
- Navigate to the Trash section.
- Select the items again and choose Delete Permanently from the bulk actions menu.
Note: If the "Empty Trash" or "Delete Permanently" options are not visible, you may need to use one of the methods below.
Method 2: Using a Database Query (Advanced - USE WITH CAUTION)
Warning: This method involves directly accessing your website's database. Always create a complete backup of your database before proceeding. An incorrect query can break your site.
For massive data sets (e.g., tens of thousands of entries from a spam attack), a direct SQL query may be the only feasible solution. You can run this in a tool like phpMyAdmin, provided by your web host.
To delete all Flamingo inbound messages and their associated metadata, you can run these two queries. First, find your database prefix (often wp_) and replace it in the queries below if necessary.
Query 1: Delete entries from the posts table
DELETE FROM wp_posts WHERE post_type LIKE '%flamingo%';
Query 2: Clean up orphaned metadata
DELETE FROM wp_postmeta WHERE post_id NOT IN (SELECT ID FROM wp_posts);
This will remove all data associated with Flamingo, including messages and contacts.
Method 3: Using the WordPress Personal Data Eraser Tool
For GDPR compliance, Flamingo version 1.9+ integrated with the WordPress personal data erasure tool. This is designed for removing an individual's personal data upon request.
- Navigate to Tools > Erase Personal Data in your WordPress admin.
- Enter the email address of the person whose data you want to remove.
- Send the request and then confirm the erasure.
This is a targeted approach, not meant for mass deletion of all records.
Deleting Flamingo Channels
A frequently asked question is how to delete a channel (the folder a form's submissions are stored in) after deleting a Contact Form 7 form. Channels are also stored as taxonomy terms in the database. The most reliable way to remove an unwanted channel is to use the database deletion method outlined above, which will remove all Flamingo data, including the channel structure. Afterwards, when you reinstall Flamingo and create new forms, new channels will be generated.
Conclusion
While Flamingo is an excellent tool for capturing form submissions, managing large volumes of data requires moving beyond the standard admin interface. For routine cleanup of smaller amounts of data, use the built-in trash functionality. For major data purges, a carefully executed direct database query after a full backup is the most effective solution. Always ensure your data management practices align with your privacy policy and regulations like GDPR.
Related Support Threads Support
-
Deleting/Renaming Channelhttps://wordpress.org/support/topic/deletingrenaming-channel/
-
How to delete all entries under a certain form?https://wordpress.org/support/topic/how-to-delete-all-entries-under-a-certain-form/
-
How to uninstall flamingo pluginhttps://wordpress.org/support/topic/how-to-uninstall-flamingo-plugin/
-
How long does Flamingo store e-mails?https://wordpress.org/support/topic/how-long-does-flamingo-store-e-mails/
-
Doubts when deleting contacts saved in Flamingohttps://wordpress.org/support/topic/doubts-when-deleting-contacts-saved-in-flamingo/
-
Delete data when removing Flamingohttps://wordpress.org/support/topic/delete-data-when-removing-flamingo/
-
What happens to data when you uninstall plugin?https://wordpress.org/support/topic/what-happens-to-data-when-you-uninstall-plugin/
-
Email auto delete option available maybe?https://wordpress.org/support/topic/email-auto-delete-option-available-maybe/
-
deaktivate Message “Finalize Submit”https://wordpress.org/support/topic/deaktivate-message-finalize-submit/
-
How many messages can Flamingo store?https://wordpress.org/support/topic/how-many-messages-can-flamingo-store/
-
Auto removal of flamingo postshttps://wordpress.org/support/topic/auto-removal-of-flamingo-posts/
-
Flamingo history has disappearedhttps://wordpress.org/support/topic/flamingo-history-has-disappeared/
-
How to remove old messages without deleting them manually?https://wordpress.org/support/topic/how-to-remove-old-messages-without-deleting-them-manually/
-
How to delete a Channel in Flamingohttps://wordpress.org/support/topic/how-to-delete-a-channel-in-flamingo/
-
Cron Job flamingo_daily_cron_jobhttps://wordpress.org/support/topic/cron-job-flamingo_daily_cron_job/
-
Choices in Flamingo Version 2.2.1 are not in French?https://wordpress.org/support/topic/choices-in-flamingo-version-2-2-1-are-not-in-french/
-
Not able to empty trash and restore to inbox in admin area of flamingohttps://wordpress.org/support/topic/not-able-to-empty-trash-and-restore-to-inbox-in-admin-area-of-flamingo/
-
How to delete all messages simplyhttps://wordpress.org/support/topic/how-to-delete-all-messages-simply/
-
Flamingo automatic message deletionhttps://wordpress.org/support/topic/flamingo-automatic-message-deletion/
-
Delete permanently seems to be missing from trash section.https://wordpress.org/support/topic/delete-permanently-seems-to-be-missing-from-trash-section/
-
How to delete all records? (plugin very slow)https://wordpress.org/support/topic/how-to-delete-all-records-plugin-very-slow/
-
Purge data after 24 months – due to Privacy policyhttps://wordpress.org/support/topic/purge-data-after-24-months/
-
How to translate this message to another language? – You are about to…https://wordpress.org/support/topic/how-to-translate-this-message-to-another-language-you-are-about-to/
-
Remove flamingo_daily_cron_job cron event after deactivationhttps://wordpress.org/support/topic/remove-flamingo_daily_cron_job-cron-event-after-deactivation/
-
delete Metahttps://wordpress.org/support/topic/delete-meta-2/
-
Delete data in databasehttps://wordpress.org/support/topic/delete-data-in-database/
-
Deleting info in wp_postmetahttps://wordpress.org/support/topic/deleting-info-in-wp_postmeta/
-
Delete entries (over 47.000)https://wordpress.org/support/topic/delete-entries-over-47-000/
-
question about mass deletion of datahttps://wordpress.org/support/topic/question-about-mass-deletion-of-data/
-
Database management systemhttps://wordpress.org/support/topic/database-management-system/
-
How does the personal data eraser workhttps://wordpress.org/support/topic/how-does-the-personal-data-eraser-work/
-
Delete DB Entrieshttps://wordpress.org/support/topic/delete-db-entries/