', esc_url( $image ), get_the_title( $format_meta['image'] ) ); } elseif ( preg_match( '/' . get_shortcode_regex() . '/s', $format_meta['image'] ) ) { echo do_shortcode( $format_meta['image'] ); } elseif ( ! preg_match( '#<[^>]+>#', $format_meta['image'] ) ) { printf( '', esc_url( $format_meta['image'] ) ); } else { echo $format_meta['image']; } ?>
]+>#', $format_meta['video'] ) ) { if ( strstr( $format_meta['video'], home_url() ) ) echo do_shortcode( sprintf( '[video src="%s"]', $format_meta['video'] ) ); else echo $wp_embed->autoembed( $format_meta['video'] ); } else { echo $format_meta['video']; } ?>
]+>#', $format_meta['audio'] ) ) { if ( strstr( $format_meta['audio'], home_url() ) ) echo do_shortcode( sprintf( '[audio src="%s"]', $format_meta['audio'] ) ); else echo $wp_embed->autoembed( $format_meta['audio'] ); } else { echo $format_meta['audio']; } ?>