This is an instance of class WP_Rewrite, which is used to enable Pretty Permalinks in WordPress. It is set in the [wordpress root folder]/settings.php and the WP_Rewrite is defined in [wordpress root folder]/wp-includes/classes.php.

The linked codex document has all the details about the class and the global variable’s usage. In a nutshell, the plugin authors can use this global variable to extend and customize rewrite rules and permalinks.

Back to full list of global variables.

Technorati tag: ,

Discussion [Participate or Link]

  1. Abhijit Nadgouda @ iface » Blog Archive » Wordpress Global Variables said:

    […] $wp_rewrite […]

  2. Wordpress Global Variables | iface thoughts said:

    […] $wp_rewrite […]

  3. Abhijit Nadgouda’s List of WordPress Global Variables « Lorelle on WordPress said:

    […] Behavior Variables: wp_filter, richedit, page_cache, pagenow, wp_version, table_prefix,wp,admin_page_hooks, wp_object_cache, allowedposttags, allowedtags, and wp_rewrite […]

Say your thought!

If you want to use HTML you can use these tags: <a>, <em>, <strong>, <abbr>, <code>, <blockquote>. Closing the tags will be appreciated as this site uses valid XHTML.



Abhijit Nadgouda
iface Consulting
+91 9819820312
My bookmarks


This is the weblog of Abhijit Nadgouda where he writes down his thoughts on software development and related topics. You are invited to subscribe to the feed to stay updated or check out more subscription options. Or you can choose to browse by one of the topics.