http://docs.woothemes.com/document/introduction-to-hooks-actions-and-filters/