Skip to content

Instantly share code, notes, and snippets.

@eljamez
eljamez / functions.php
Created August 28, 2013 17:49
Woocommerce, get the product's attribute title from attribute slug
// just pass in the attribute and the attribute slug
// and the return value is the attribute's name
// example : (assuming attribute size has the option of "Extra Small" withe the slug of "extra-small")
// echo attribute_slug_to_title('attribute_pa_size', 'extra-small');
// returns
// "Extra Small"
// code reworked from woocommerce/classes/class-wc-cart.php
@danielquisbert
danielquisbert / download_ext6.2.0.md
Last active October 18, 2024 22:13
Download extJS gpl 6.2