Skip to content

Instantly share code, notes, and snippets.

@JoeHana
Created December 22, 2016 23:30
Show Gist options
  • Save JoeHana/0773cd97e94d2b8ae030642b42d85813 to your computer and use it in GitHub Desktop.
Save JoeHana/0773cd97e94d2b8ae030642b42d85813 to your computer and use it in GitHub Desktop.
Custom Listing Category Taxonomy Slug
<?php
/**
* Custom Listing Category Taxonomy Slug
*/
add_filter( 'wpsight_rewrite_categories_slug', 'custom_rewrite_categories_slug', 11 );
function custom_rewrite_categories_slug( $slug ) {
return 'listing-category';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment