Store meta data for a user Read meta data for a user Single Value Array of values Delete meta data for user
Category: Database
Built in DB functions(1)
Errors(1)
Example Uses(1)
Queries(6)
Other Databases
The wpdb object can be used to access any database and query any table. Absolutely no need to be WordPress related, which is very interesting. Simply create a new wpdb object: And use it in your functions as you do for the wp database:
$wpdb
https://codex.wordpress.org/Class_Reference/wpdb
WordPress Database
Good resources https://deliciousbrains.com/tour-wordpress-database/
Creating Custom Tables
Resources https://deliciousbrains.com/creating-custom-table-php-wordpress/ Create / Update A Table While not a requirement to use the wordpress dbDelta function, it is recommended when making changes to the database as it examines the current table structure, compares it to the desired table structure, and either adds or modifies the table as necessary. dbDelta IS VERY PICKY!!!! Important rules […]