title: Checking if customer has already bought something in WooCommerce
body: <p>I would like to create a WooCommerce plugin to add some offers for customers (that have a purchase History).</p>
  
  <p>How can I check a user bought something before?</p>
  
  <p>Thanks.</p>