Database Schema
Custom Tables Best Practices
Guidelines for creating and managing custom database tables in WordPress plugins and themes. When to Use Custom Tables Use Custom...
Database Schema
WordPress core database tables and structure. Source: wp-admin/includes/schema.php Core Tables Table Description wp_posts.md Posts, pages, and custom post types wp_postmeta.md...
Multisite Database Tables
WordPress Multisite adds network-level tables and per-site table copies. Network Tables These tables exist once per network, typically without a...
Table Prefixes
WordPress uses configurable table prefixes for security and multi-installation support. Default Prefix // wp-config.php $table_prefix = 'wp_'; All core tables...
Charset and Collation
WordPress uses UTF-8 character encoding with MySQL/MariaDB collations optimized for Unicode. Default Settings Since WordPress 4.2 (2015): // wp-config.php defaults...