Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to change woocommerce read more text

add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) {
    if ( 'Read more' == $text ) {
        $text = __( 'View More', 'woocommerce' );
    }

    return $text;
} );
 
PREVIOUS NEXT
Tagged: #change #woocommerce #read #text
ADD COMMENT
Topic
Name
6+9 =