title: Wordpress get_terms including translations
body: <p>Im trying to delete all custom taxonomy objects including translations made with WPML.</p>
  
  <pre><code>$terms = get_terms('product-category');
  foreach ($terms as $term) {
      wp_delete_term($term-&gt;term_id, 'product-category');
  }
  </code></pre>
  
  <p>What this does, is delete all main language taxonomies but all translations are left.  What is the right way to delete all taxonomies with their translations. It's also important that translation links in *_icl_translations table would get removed for the taxonomies.</p>