WooCommerce – Restore the “(Free)” message when shipping method doesn’t charge any cost.

By default this has been removed from WooCommerce 2.6 to avoid obvious situations such as “Free Shipping: (Free)”, but in some cases it’s required display some message and this is possible with the following code.

Note that the code above don’t include any message for the “Free Shipping” method.