title: How to get multipal post type archive?
body: <p>i want to get archives of multipal custom post types can u help me guys here is my code which is not working</p>
  
  <pre><code> &lt;?php $args = array(
  
      'type'            =&gt; 'yearly',
  
      'limit'           =&gt; '',
  
      'format'          =&gt; 'custom ', 
  
      'before'          =&gt; '',
  
      'after'           =&gt; '',
  
      'show_post_count' =&gt; false,
  
      'echo'            =&gt; 1,
  
      'order'           =&gt; 'DESC',
  
      'post_type'     =&gt; array('news','update')
  
  );
  
  wp_get_archives( $args ); 
  </code></pre>