wp_rewrite

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: ,

One Response to “wp_rewrite”


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: