Data & Uninstallation¶
What Data Does Herodotus Store?¶
| Data Type | Storage Location | Description |
|---|---|---|
| Events | wp_posts (post_type: herodotus_post) |
Your event content |
| Categories | wp_terms / wp_term_taxonomy |
Event categories |
| Date meta | wp_postmeta |
_herodotus_day, _herodotus_month, _herodotus_year |
| Settings | wp_options |
Plugin configuration |
| Cache | wp_options (transients) |
Temporary cached query results |
Deactivation vs Uninstallation¶
Deactivating the Plugin¶
- The plugin is turned off.
- All data remains in the database.
- Re-activating restores everything.
- This is safe and reversible.
Uninstalling the Plugin¶
Default behavior (Remove Data = OFF):¶
- Plugin files are deleted.
- All data is kept in the database.
- If you reinstall later, your events will still be there.
With "Remove Data on Uninstall" enabled:¶
- Plugin files are deleted.
- ALL Herodotus data is permanently deleted:
- All events (posts)
- All categories
- All meta data
- All settings
- All cached data
⚠ This is irreversible. Make a database backup before uninstalling if you have "Remove Data" enabled.
How to Enable Data Removal¶
- Go to Settings → Herodotus → Advanced.
- Enable Remove Data on Uninstall.
- Save settings.
- Now when you delete the plugin from Plugins → Installed Plugins → Delete, all data will be removed.
Exporting Data Before Uninstall¶
WordPress allows you to export custom post types:
- Go to Tools → Export.
- Select Herodotus Events (or All Content).
- Download the XML export file.
- This file can be imported later using Tools → Import.
Note: The XML export includes post content and meta data, but plugin settings are not included in WordPress exports.