title: WooCommerce Getting the product quantity in a order based on wc_customer_bought_product function
body: <p>I'm using the <code>wc_customer_bought_product()</code> function to check if the current user has bought a certain product. </p>
  
  <p>However, now I need to check <strong>how many</strong> of that product did the customer buy. </p>
  
  <p>So, for example, if I have bought in an order a product with a quantity of 7, I'd need a way to get the order and the quantity in that order for this product. </p>
  
  <p>How can I achieve this?</p>
  
  <p>If anyone have some answer, it would be much appreciated. </p>