Inventory_Presser_Plugin::add_pretty_search_urls()

Action hook callback that adds rewrite rules to the global $wp_rewrite.


Description

These rewrite rules are what power URLs like /inventory/make/subaru.


Return

(void)


Source

File: inventory-presser.php

		 */
		public function add_pretty_search_urls() {
			global $wp_rewrite;
			$wp_rewrite->rules = $this->generate_rewrite_rules( INVP::POST_TYPE ) + $wp_rewrite->rules;