booking_meta['booking']; $uploaded = $booking_meta['passport']['files']; $fileURL = ""; foreach( $uploaded as $key => $value ){ $files = $uploaded[$key]; foreach( $files as $File_key => $File_val ){ if ( $File_key == 'url' ){ $fileURL = $File_val; } } } $val = ( !empty( $uploaded ) ) ? 'View/Download':'N/A'; EM_Bookings_Table::$cols_allowed_html[$col] = true; } return $val; } add_filter('em_bookings_table_rows_col','my_em_custom_booking_form_cols_file_upload', 100, 5);