Created
July 29, 2022 00:16
-
-
Save woogists/509f485c78ac63211be0933cb2c6959e to your computer and use it in GitHub Desktop.
[Product Vendors] Change the vendor taxonomy name everywhere (front and backend)
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_taxonomy_args', 'change_product_vendors_taxonomy_name' ); | |
function change_product_vendors_taxonomy_name( $args ) { | |
$args['labels']['name'] = __( 'Artists', 'text-domain'); | |
$args['labels']['singular_name'] = __( 'Artist', 'text-domain'); | |
// ... other labels updates | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment