Skip to content

Instantly share code, notes, and snippets.

View pamjadz's full-sized avatar

Pouriya Amjadzadeh pamjadz

View GitHub Profile
@goranefbl
goranefbl / checkout.php
Created October 11, 2017 12:20
Woocommerce checkout - update shipping outside of table.
add_filter('woocommerce_update_order_review_fragments', 'am2_update_shipping_methods');
function am2_update_shipping_methods($arr) {
ob_start();
echo "<div class='am2-custom-shipping'>";
wc_cart_totals_shipping_html();
echo "</div>";
$woocommerce_shipping_methods = ob_get_clean();
$arr['.am2-custom-shipping'] = $woocommerce_shipping_methods;
return $arr;
}
@kevinSuttle
kevinSuttle / meta-tags.md
Last active March 31, 2024 14:26 — forked from lancejpollard/meta-tags.md
List of Usable HTML Meta and Link Tags