Skip to content

Instantly share code, notes, and snippets.

@wpsmith
Created April 25, 2017 00:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpsmith/b759bedf8f755cb88157703f49e969e7 to your computer and use it in GitHub Desktop.
Save wpsmith/b759bedf8f755cb88157703f49e969e7 to your computer and use it in GitHub Desktop.
Makes rewrite rules verbose. Helpful to have all the rewrite rules for some testing, especially with http://htaccess.mwl.be/
<?php
/*
Plugin Name: WPS Verbose Rewrite Rules
Plugin URI: http://wpsmith.net/
Description: Helpful to have all the rewrite rules for some testing, especially with http://htaccess.mwl.be/
Author: Travis Smith <t@wpsmith.net>
Version: 0.0.1
*/
global $wp_rewrite;
$wp_rewrite->use_verbose_rules = true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment