Last active
July 29, 2022 00:09
-
-
Save woogists/66106b9ac74de4c621403651148dfd1b to your computer and use it in GitHub Desktop.
[Product Vendors] Change the vendor URL 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
add_filter( 'wcpv_vendor_slug', 'change_product_vendors_slug' ); | |
function change_product_vendors_slug() { | |
return 'your-new-slug'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment