Wp_optionsIs a data table used to store all global options in WordPress. Core andWp_postmetaAndWp_usermetaThese two tables are very similar, and this table is very easy to understand-Wp_optionsAll WordPress information is stored.Wp_postmetaStore log information andWp_usermetaThe usage of storing user information is the same. However, you may notice that it has some additional fields.
There isBlog_ Id field, but it is not used in a separately installed Wordpress blog. It is only used in WordPress Mu. What about most of the conventional WordPress and Wordpress Mu?Source codeIt is similar to the data structure. So use WordPress muWp_optionsIn this tableBlog_idThis field is used to differentiate the option settings of different blogs under the same WordPress Mu.
AutoloadThis field is used to control whether the options are always imported and cached by WordPress or plug-in, or whether the options are imported only when required. I have observed that many options are automatically imported.
++ ++
WordPressThe wp_options table in the database records the basic information set by the user. In wordpress2.7, the content recorded in this table is roughly set on the background management page-> general content, the table has five fields. The functions of each field are described as follows:
The ID of the option_id Option Record.
Blog_id blog ID. WordPress supports multiple blogs in one system. If there are multiple users, this field will have a corresponding number; otherwise, it will be 0.
Option_name option name
Option_value option value
Whether autoload is automatically read each time