This is the variable that interfaces with the backend of Wordpress. It is used to add/delete/modify elements in the database used by Wordpress.
It is an instance of the wpdb class defined in [wordpress root folder]/wp-includes/wp-db.php.
Plugin authors can use this variable to interface with the database. The database design is documented here.
Back to full list of global variables.
Technorati tags: wpdb



February 25th, 2006 at 7:56 am
[...] $wpdb [...]
June 29th, 2006 at 6:53 pm
[...] However the plugin can use the wpdb variable to identify versions and use the inherent capability for version greater than 4.0.1 and David Altherr’s boolean search functions or Boolean Search Plugin by Beau Collins for the lower versions. [...]
November 24th, 2006 at 2:19 pm
[...] User Data: wp_roles, user_pass_md5, user_url, user_login, user_level, user_identity, user_email, user_ID, current_user, and wpdb [...]