Answers for "woocommerce change related products tect"

0

woocommerce change related products tect

// CHANGE RELATED PRODUCTS TEXT
function my_text_strings( $translated_text, $text, $domain ) {
    switch ( $translated_text ) {
        case 'Related products' :
            $translated_text = __( 'You may also like...', 'woocommerce' );
            break;
    }
    return $translated_text;
}
add_filter( 'gettext', 'my_text_strings', 20, 3 );
Posted by: Guest on July-21-2020

Code answers related to "woocommerce change related products tect"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language