title: get woocommerce product variation id
body: <p>i am currently developing an extension for woocommerce. I am hooking into the admin variations tab like this:</p>
  
  <pre><code>add_action( 'woocommerce_product_after_variable_attributes' ,'wwp_add_variable_wholesale_price' );
  
  function wwp_add_variable_wholesale_price(){
  
      global $post, $woocommerce;
      $post_id = $post-&gt;ID;
      echo $post_id;
  
  }
  </code></pre>
  
  <p>Them above is currently displayin the parent product id, and not the variation id. Does anyone know how to get the actual variation id?</p>