![Wordpress Web Application Development(Third Edition)](https://wfqqreader-1252317822.image.myqcloud.com/cover/140/36701140/b_36701140.jpg)
上QQ阅读APP看书,第一时间看更新
User-related tables
This category consists of two tables that contain the user-related information of your application. Let's take a look at the relationship between user-related tables before moving onto the explanation:
![](https://epubservercos.yuewen.com/E09B54/19470408608963406/epubprivate/OEBPS/Images/image_03_001.png?sign=1739422135-FaSYNeAD6pE7gRra6CMHhUXS58g4iYGO-0-eeff0da69f98682a40551ea3457b6420)
The two tables shown in the preceding diagram are as follows:
- wp_users: All the registered users will be stored in this table with their basic details, such as name, e-mail, username, and password.
- wp-usermeta: This table is used to store additional information about the users as key-value pairs. User roles and capabilities can be considered as the most important user-specific data of this table. Also, we have the freedom to add any user-related information as new key-value pairs.
Throughout this chapter, we'll be referring to WordPress tables with the default prefix of wp_. You can change the prefix through the installation process or by manually changing the wp-config.php file in the root directory.