You appear to be a bot. Output may be restricted
Description
Display CSV as a list
- The list format is determined by the uo= parameter
- Empty lines are ignored
Usage
bw_csv_content_array_list( $content_array, $atts );
Parameters
- $content_array
- ( array ) required – array of contents to be displayed
- $atts
- ( array ) optional – shortcode parameters
Returns
void
Source
File name: oik-bob-bing-wide/shortcodes/oik-csv.php
Lines:
1 to 13 of 13
function bw_csv_content_array_list( $content_array, $atts=null ) { oik_require( "shortcodes/oik-list.php" ); $ol = bw_sl( $atts ); foreach ( $content_array as $line ) { $line = trim( $line ); if ( $line ) { $tablerow = str_getcsv( $line, $atts['del'] ); $tablerow = bw_csv_expand_shortcodes( $tablerow ); bw_csv_output_list_item( $tablerow, $ol ); } } bw_el( $ol ); }