title: How to get List for Contact Form 7
body: <p>I have 2 contact forms created by Contact Form 7.
  How to list all contact forms created through shortcode?
  Please check images, tks.</p>
  
  <p><img src="https://i.stack.imgur.com/fq2n8.png" alt="list"></p>
  
  <p><img src="https://i.stack.imgur.com/imjdL.png" alt="dropdown"></p>
  
  <p><strong>Updated:</strong> 
  this is my code, this working!</p>
  
  <pre><code>$args = array('post_type' =&gt; 'wpcf7_contact_form', 'posts_per_page' =&gt; -1);
  $rs = array();
  if( $data = get_posts($args)){
      foreach($data as $key){
          $rs[$key-&gt;ID] = $key-&gt;post_title;
      }
  }else{
      $rs['0'] = esc_html__('No Contact Form found', 'text-domanin');
  }
  </code></pre>