Skip to content

Instantly share code, notes, and snippets.

@mdibrahimk48
Created July 23, 2023 05:12
Show Gist options
  • Save mdibrahimk48/11f919f0bdd5dfd04171e823748a26e3 to your computer and use it in GitHub Desktop.
Save mdibrahimk48/11f919f0bdd5dfd04171e823748a26e3 to your computer and use it in GitHub Desktop.
Used to change view cart text.
<?php
/* To change product table view cart text*/
function codeastrology_view_cart_text( $text ){
$text = "Basket";
return $text;
}
add_filter('wpt_view_cart_text', 'codeastrology_view_cart_text');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment