{"id":54966,"date":"2020-01-01T16:08:03","date_gmt":"2020-01-01T15:08:03","guid":{"rendered":"https:\/\/samuelchopard.ch\/wiki\/?p=54966"},"modified":"2020-01-01T16:08:03","modified_gmt":"2020-01-01T15:08:03","slug":"remove-all-shipping-method-labels-in-woocommerce-cart-and-checkout","status":"publish","type":"post","link":"https:\/\/samuelchopard.ch\/wiki\/library\/remove-all-shipping-method-labels-in-woocommerce-cart-and-checkout\/","title":{"rendered":"Remove ALL shipping method labels in WooCommerce Cart and Checkout"},"content":{"rendered":"<p><!--more--><\/p>\n<p>Paste the following code in functions.php:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\">\/**\r\n * @snippet       Removes shipping method labels @ WooCommerce Cart \/ Checkout\r\n * @how-to        Get CustomizeWoo.com FREE\r\n * @sourcecode    https:\/\/businessbloomer.com\/?p=484\r\n * @author        Rodolfo Melogli\r\n * @testedwith    WooCommerce 3.5.6\r\n * @donate $9     https:\/\/businessbloomer.com\/bloomer-armada\/\r\n *\/\r\n \r\nadd_filter( 'woocommerce_cart_shipping_method_full_label', 'bbloomer_remove_shipping_label', 10, 2 );\r\n  \r\nfunction bbloomer_remove_shipping_label( $label, $method ) {\r\n$new_label = preg_replace( '\/^.+:\/', '', $label );\r\nreturn $new_label;\r\n}\r\n<\/pre>\n<p>Source: <a target=\"_blank\" href=\"https:\/\/businessbloomer.com\/woocommerce-remove-shipping-labels-cart-checkout-page-e-g-flat-rate\/\">https:\/\/businessbloomer.com\/woocommerce-remove-shipping-labels-cart-checkout-page-e-g-flat-rate\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"Paste the following code in functions.php: \/** * @snippet Removes shipping method labels @ WooCommerce Cart \/ Checkout * @how-to [...]","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[52,58,266,327],"class_list":["post-54966","post","type-post","status-publish","format-standard","hentry","category-woocommerce","tag-cart","tag-checkout","tag-shipping","tag-woocommerce"],"_links":{"self":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/54966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/comments?post=54966"}],"version-history":[{"count":1,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/54966\/revisions"}],"predecessor-version":[{"id":54967,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/54966\/revisions\/54967"}],"wp:attachment":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/media?parent=54966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/categories?post=54966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/tags?post=54966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}