You appear to be a bot. Output may be restricted
Description
Process pairs of attachments
Usage
$output = bw_paired_attachments( $posts, $atts );
Parameters
- $posts
- ( array ) required – array of posts
- $atts
- ( array ) required – shortcode parameters
Returns
output produced by bw_format_matched_link()
Source
File name: oik/shortcodes/oik-attachments.php
Lines:
1 to 9 of 9
function bw_paired_attachments( $posts, $atts ) { bw_trace2( $posts, "posts" ); foreach ( $posts as $post ) { $matched_post = bw_find_post( $posts, $post ); if ( $matched_post ) bw_format_matched_link( $post, $matched_post, $atts ); } return( bw_ret()); }