change wordings
-
Hello Team,
kindly advise why below code is not changing ‘View cart’ to ‘View Orders’?
https://snipboard.io/3xjZ10.jpg
function change_cart_totals_string2( string $translation2, string $text2, string $domain2 ): string { if ( 'View cart' === $text2 ) { return 'View Orders'; } return $translation2; } add_filter( 'gettext_woocommerce', 'change_cart_totals_string2', 10, 3 );
Thanks,
Roshan
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘change wordings’ is closed to new replies.