Answers for "woocommerce function traduccion label"

PHP
0

woocommerce function traduccion label

add_filter('gettext',  'translate_text');
add_filter('ngettext',  'translate_text');
 
function translate_text($translated) {
     $translated = str_ireplace('TEXTO QUE NO QUIERO',  'TEXTO QUE SÍ QUIERO',  $translated);
     return $translated;
}
Posted by: Guest on November-11-2020

Code answers related to "woocommerce function traduccion label"

Browse Popular Code Answers by Language