# WordPress database tables, cron hooks and REST namespace lookup

> Source: https://ththeme.net/wordpress-database-tables/ | Updated: 2026-12-05 | License (data): CC BY 4.0

Paste a mystery `wp_*` database table, full MySQL `SHOW TABLES;` dump, `wp_options` key, WP-Cron hook or `/wp-json/` namespace below to see which WordPress.org plugin creates it and whether default uninstallation removes it. Every entry was observed empirically by activating and uninstalling **1,000 popular plugins** inside an isolated PHP 8.4.28 + WordPress 7.1.5 sandbox: **1,007 unique custom tables**, **347 cron hooks**, **415 REST namespaces** and **2,477 option keys**.

## Key facts
- 1,007 unique custom wp_* tables observed across 213 of 862 activated plugins
- 979 of 1,177 table mappings (83.2%) remain after default uninstall_plugin()
- 347 WP-Cron hooks, 415 /wp-json/ REST namespaces and 2,477 wp_options keys indexed
- Automatically strips custom $table_prefix values (e.g. prod_yoast_indexable -> wp_yoast_indexable) and multisite blog IDs
- Free JSON API (GET/POST /api/wp-internals), MCP tool (lookup_wp_internals) and CC BY 4.0 CSV downloads

## Identify a table, option, cron hook or paste SHOW TABLES

Runs locally in your browser with zero server upload. Supports arbitrary custom database prefixes and bulk dumps from phpMyAdmin, Adminer or `wp db tables`.

Loading empirical internals index...

Browse the complete static tables below, or call `GET https://ththeme.net/api/wp-internals?q=wp_e_events`.

## Complete custom WordPress database table directory (1,177 entries)

Shared libraries such as `wp_actionscheduler_*` appear under every plugin that bundles Action Scheduler. Verify **no other active plugin** shares a table before deleting it.

(Full interactive table at https://ththeme.net/wordpress-database-tables/ | CSV: https://ththeme.net/data/wp-plugins-top1000.csv & https://ththeme.net/data/wp-themes-top1000.csv)

## Observed /wp-json/ REST API namespaces (415 unique)

Every custom REST namespace registered on the default WordPress 7.1.5 front page load (core `wp/v2`, `oembed/1.0` and `wp-site-health/v1` excluded; showing up to 120 rows, full set in CSV/JSON):

(Full interactive table at https://ththeme.net/wordpress-database-tables/ | CSV: https://ththeme.net/data/wp-plugins-top1000.csv & https://ththeme.net/data/wp-themes-top1000.csv)

## Observed WP-Cron scheduled hooks (347 unique)

Recurring or one-shot cron hooks registered immediately upon activation or first homepage load (showing up to 120 rows; use search above or download CSV for all 431):

(Full interactive table at https://ththeme.net/wordpress-database-tables/ | CSV: https://ththeme.net/data/wp-plugins-top1000.csv & https://ththeme.net/data/wp-themes-top1000.csv)

## Safe database cleanup checklist and open exports

- **Never drop core tables:** the 12 single-site tables (`posts`, `postmeta`, `options`, `users`, `usermeta`, `comments`, `commentmeta`, `terms`, `termmeta`, `term_taxonomy`, `term_relationships`, `links`) power WordPress itself.
- **Always back up first:** run `wp db export backup.sql` before touching any table or option.
- **Check row counts and shared tables:** inspect `SELECT COUNT(*) FROM wp_table_name;` and confirm `wp_actionscheduler_*` is not required by WooCommerce, WPForms, Rank Math or WP Mail SMTP.
- **Check plugin settings first:** many plugins include an opt-in "delete all data on uninstall" toggle inside wp-admin that cleans up safely without manual SQL.
- **Open downloads (CC BY 4.0):** [wp-database-tables.csv](https://ththeme.net/data/wp-database-tables.csv) · [wp-cron-hooks.csv](https://ththeme.net/data/wp-cron-hooks.csv) · [wp-rest-namespaces.csv](https://ththeme.net/data/wp-rest-namespaces.csv) · [wp-internals-index.json](https://ththeme.net/data/wp-internals-index.json) · API: `GET/POST /api/wp-internals` · MCP: `lookup_wp_internals`.

**Cite or paste in Reddit / GitHub / docs (CC BY 4.0):**
`[WordPress Database Table, Cron & REST Lookup Index (n=1000 plugins)](https://ththeme.net/wordpress-database-tables/) (THTheme, 2026-12-05, CC BY 4.0)`
APA: THTheme Editorial Team. (2026). WordPress Database Table, Cron & REST Lookup Index (n=1000 plugins). Retrieved 2026-12-05, from https://ththeme.net/wordpress-database-tables/

## FAQ

### What is the wp_actionscheduler_actions table and which plugin created it?

Action Scheduler is a shared background job queue library bundled by WooCommerce, WPForms, Rank Math, WP Mail SMTP, All in One SEO and several other major plugins. Do not drop actionscheduler tables if any active plugin uses it.

### My site uses a custom database prefix instead of wp_. Does lookup still work?

Yes. Both the interactive lookup box and GET/POST /api/wp-internals strip custom prefixes (such as abc123_yoast_indexable) and multisite sub-site numbers (wp_2_yoast_indexable) before matching.

### Is it safe to delete a table marked Left behind?

Only after taking a full database backup, verifying the owning plugin is deactivated and deleted, confirming no other active plugin shares the table (like Action Scheduler), and confirming you do not need archived form entries, redirects, logs or order history stored inside it.

### Why is a plugin table missing from this index?

Our automated sandbox activates the top popular WordPress.org plugins on default settings. Commercial plugins, plugins outside the tested cohort, or tables created lazily only after visiting a specific wp-admin setup wizard may not appear yet.

## Sources
- [WordPress Codex: Database Description (Core Tables)](https://codex.wordpress.org/Database_Description)
- [WordPress Developer Handbook: WP-Cron](https://developer.wordpress.org/plugins/cron/)
- [WordPress REST API Handbook: Routes & Endpoints](https://developer.wordpress.org/rest-api/extending-the-rest-api/routes-and-endpoints/)
- [Creative Commons Attribution 4.0 (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/)
