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:

2 Responses to “wpdb”

  1. Abhijit Nadgouda @ iface » Blog Archive » Of Wordpress Search Says:

    […] 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. […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: