Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!


Please note that all contributions to Codex may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see $1 for details) such as Creative Commons. In addition, all code content (including JS) must be GPLv2 (or later) compatible. Do not submit copyrighted work without permission!