22 if(
sizeof( $output_arr ) === 1 ) {
24 $output = $output_arr[0][
'content'];
32 foreach ( $output_arr as $key => $item) {
35 if( empty( $item[
'content'] ) ) {
continue; }
37 $output .=
'<li>' . $item[
'content'] .
'</li>';
42 $output = sprintf(
"<ul class='gv-field-file-uploads %s'>%s</ul>", $gv_class,
$output );
static getInstance( $passed_post=NULL)
gravityview_get_files_array( $value, $gv_class='', $context=null)
Return an array of files prepared for output.
gv_class( $field, $form=NULL, $entry=array())