Created
December 22, 2016 23:30
-
-
Save JoeHana/0773cd97e94d2b8ae030642b42d85813 to your computer and use it in GitHub Desktop.
Custom Listing Category Taxonomy Slug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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