woocommerce function traduccion label

Solutions on MaxInterview for woocommerce function traduccion label by the best coders in the world

showing results for - "woocommerce function traduccion label"
Julien
21 Jan 2016
1add_filter('gettext',  'translate_text');
2add_filter('ngettext',  'translate_text');
3 
4function translate_text($translated) {
5     $translated = str_ireplace('TEXTO QUE NO QUIERO',  'TEXTO QUE SÍ QUIERO',  $translated);
6     return $translated;
7}