title: Using custom taxonomies with wp_get_archives()
body: <p>I am using the following code to get a yearly archive of my posts with a post type of 'foi'.</p>
  <p>Here is my code:</p>
  <pre class="lang-php prettyprint-override"><code>wp_get_archives(
      array(
          'post_type'       =&gt; 'foi',
          'type'            =&gt; 'yearly',
          'limit'           =&gt; '10',
          'show_post_count' =&gt; 'true'
      )
  );
  </code></pre>
  <p>I have a taxonomy set-up for the post type <strong>foi</strong> and I would like to use that in the wp_get_archives() function somehow. An example would be to show the yearly archive for all posts with a post type of <strong>foi</strong> but also with a taxonomy of <strong>document</strong>.</p>
  <p>How can this be achieved?</p>