📅  最后修改于: 2022-03-11 14:57:32.354000             🧑  作者: Mango
add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) {
if ( 'Read more' == $text ) {
$text = __( 'More Info', 'woocommerce' );
}
return $text;
} );