Skip to content

Instantly share code, notes, and snippets.

View Yoneo's full-sized avatar

Yoneo

View GitHub Profile
@michaeluno
michaeluno / amazon-auto-links-remove-parentheses-in-price-outputs.php
Last active November 16, 2020 09:12
An Amazon Auto Links, a WordPress plugin, extension plugin that removes a part enclosed in parentheses in price outputs.
@roykho
roykho / gist:1ff00214a1e10ac0cff4
Created August 5, 2014 20:31
WooCommerce: How to remove shipping label in cart and checkout
add_filter( 'woocommerce_cart_shipping_method_full_label', 'remove_shipping_label', 10, 2 );
function remove_shipping_label( $label, $method ) {
$new_label = preg_replace( '/^.+:/', '', $label );
return $new_label;
}