Woocommerce cart page – Add “Free” to the shipping label when shipping is 0
you may try this function custom_label( $label, $method ) { if ( $method->cost == 0 ) { $label .= “(Free)”; } return $label; } add_filter( ‘woocommerce_cart_shipping_method_full_label’, ‘custom_label’, 10, 2 );