Cambiar texto boton read more

PHOTO EMBED

Tue Apr 26 2022 17:04:31 GMT+0000 (UTC)

Saved by @YUSTY #css

// Change text read more boton woocommerce
add_filter( 'gettext', 'ds_change_readmore_text', 20, 3 );

function ds_change_readmore_text( $translated_text, $text, $domain ) {
if ( ! is_admin() && $domain === 'woocommerce' && $translated_text === 'Read more') {
$translated_text = 'Quote';
}
return $translated_text;
}
content_copyCOPY