How many default tables are in a WordPress database?
A fresh WordPress install creates 12 tables in the database:
Terminal output
$ wp db tables
wp_commentmeta
wp_comments
wp_links
wp_options
wp_postmeta
wp_posts
wp_term_relationships
wp_term_taxonomy
wp_termmeta
wp_terms
wp_usermeta
wp_users
The main ones are wp_posts (posts, pages and other content), wp_postmeta (custom fields), wp_options (settings), wp_users and wp_usermeta, wp_comments and the term tables wp_terms, wp_term_taxonomy and wp_term_relationships. Plugins can add more tables. Read WordPress Database.
Learn more about the similar topics:
| Tutorials |
|---|
| No Content Found. |
| Exercises & Assignments |
|---|
| No Content Found. |
| Interview Questions & Answers |
|---|
| How many default tables are in a WordPress database? |
| Where is the WordPress content stored? |
| What is the default table prefix for the WordPress database? |