WordPress Global Variables

Usage of global variables in WordPress is easy syntax, but it also makes breaking of functionalities easier while using them. This is an effort to document all the global variables used by WordPress and any possible documentation for it to enable wiser use in plugins and templates. A generic rule to follow while using global variables in plugins and themes is that values should only be read from them and they should never be written. Values will be written to them in the WordPress code and never in the plugins or themes. This documentation is good for WordPress 2.0.1.

You can subscribe to the WordPress Global Variables feed to receive updates on the global variables.

This post will be continuously updated:

Technorati tags: , ,

Copyright Abhijit Nadgouda

About these ads

2 Responses to “WordPress Global Variables”

  1. Red light in a blue box » Global vars in Wordpress Says:

    [...] There seems to be little documentation on certain aspects of WordPress. One such under-documented thing is the global variables available. Luckily, Abhijit Nadgouda has complied a list of the WordPress global variables, the list links to any known documentation. [...]

  2. Sein » authordata Says:

    [...] Back to full list of global variables. [...]


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

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: