mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-30 11:42:22 +08:00
7 lines
186 B
Text
7 lines
186 B
Text
add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) {
|
|
if ( 'Read more' == $text ) {
|
|
$text = __( 'More Info', 'woocommerce' );
|
|
}
|
|
|
|
return $text;
|
|
} );
|