Skip to content

Instantly share code, notes, and snippets.

@wpsmith
Created April 25, 2017 00:39
Show Gist options
  • Select an option

  • Save wpsmith/b759bedf8f755cb88157703f49e969e7 to your computer and use it in GitHub Desktop.

Select an option

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 <[email protected]>
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