Created
March 28, 2018 03:21
-
-
Save fervous/9077a66de7af9f5e2e7980e8be349748 to your computer and use it in GitHub Desktop.
translate vendor to seller wc vendors pro
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
/* change vendor to seller */ | |
add_filter( 'gettext', 'wcv_translate_vendor', 999 ); | |
function wcv_translate_vendor( $translated ) { | |
$translated = str_ireplace( 'vendor', 'seller', $translated ); | |
return $translated; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment