title: Need example code for wp_playlist_shortcode
body: <p>I trying to use wp_playlist_shortcode for creating playlist with audio-files from all blog posts. 
  In official documentation i saw this parameter:</p>
  
  <blockquote>
    <p>'ids'
    (array) Create a playlist out of these explicit attachment IDs. If empty, a playlist will be created from all $type attachments of $id. Default empty.</p>
  </blockquote>
  
  <p>I trying this code, and its doesn't working:</p>
  
  <pre><code>$attch_id = array('76', '73', '70', '67');
  wp_playlist_shortcode( array( 'ids' =&gt; '$attch_id' );
  </code></pre>
  
  <p>How to create playlist with audio-files from all blog posts? Now i use this code, but it is a not playlist. </p>
  
  <pre><code>$audios = array( 'post_type' =&gt; 'attachment', 'posts_per_page' =&gt; -1, 'post_status' =&gt; null, 'post_parent' =&gt; null, 'post_mime_type' =&gt; 'audio/mpeg' );
                          $attachments = get_posts( $audios );
                          if ($attachments) {
                              foreach ( $attachments as $post ) { 
                                  setup_postdata($post);
                                  $media_url = $post-&gt;guid;
                                  $media_title = $post-&gt;post_title;
                                  echo wp_audio_shortcode( array( 'src' =&gt; $media_url) );
                                  echo '&lt;p&gt;' . $media_title . '&lt;/p&gt;';
                                  // print_r($media_url);
                              }
                          }
                          wp_reset_postdata();
  </code></pre>