Woocommerce Plugin

added a default event and updated functions