Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function dinapyme_wc_modificar_texto_oferta( $texto ) {
- return str_replace( __( 'Sale!', 'woocommerce' ), __( '¡Promoción!', 'woocommerce' ), $texto );
- }
- add_filter( 'woocommerce_sale_flash', 'dinapyme_wc_modificar_texto_oferta' );
Add Comment
Please, Sign In to add comment