Skip to content

Instantly share code, notes, and snippets.

@Luminus
Last active July 25, 2016 18:30
Show Gist options
  • Save Luminus/03719b9e10c1518f97f0b84ef0c31ab0 to your computer and use it in GitHub Desktop.
Save Luminus/03719b9e10c1518f97f0b84ef0c31ab0 to your computer and use it in GitHub Desktop.
WooCommerce Product Vendors: Change vendor URL slug
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