55
Especially when you do a lot of custom shipping, showing the shipping method title may not be a good idea. Honestly, the default “via ___” suffix beside the shipping cost doesn’t make much sense anyway.
So, let’s get rid of it. With a 1 liner. Enjoy!
PHP Snippet: Remove “via ___” Shipping Amount Suffix @ WooCommerce Thank You & My Account > View Order Pages
/**
* @snippet Hide "via ___" @ WooCommerce Thank You Page
* @how-to Get tutoraspire.com FREE
* @author Tutor Aspire
* @compatible WooCommerce 7
* @donate $9 https://tutoraspire.com
*/
add_filter( 'woocommerce_order_shipping_to_display_shipped_via', '__return_empty_string' );