1add_filter( 'gettext', 'change_woocommerce_return_to_shop_text', 20, 3 );
2
3function change_woocommerce_return_to_shop_text( $translated_text, $text, $domain ) {
4
5 switch ( $translated_text ) {
6
7 case 'Go to the shop' :
8
9 $translated_text = __( 'Browse Shop', 'woocommerce' );
10 break;
11
12 }
13
14 return $translated_text;
15}