Last active
July 25, 2016 18:30
-
-
Save Luminus/03719b9e10c1518f97f0b84ef0c31ab0 to your computer and use it in GitHub Desktop.
WooCommerce Product Vendors: Change vendor URL slug
This file contains hidden or 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
add_filter( 'wcpv_vendor_slug', 'change_vendor_slug' ); | |
function change_vendor_slug( $slug ) { | |
return 'new_slug'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment