0 ) ? ( 12 / $num_sections ) : 12; // If a size abbreviation was passed in, then piece it together and return that. if ( !empty( $size_abbr ) ) { return 'col-'.$size_abbr.'-'.$col_size; } // Otherwise, just return the number of columns. return $col_size; } /** * Generates a Bootstrap 'list-group' element with the given items. * @param string|array $items The plain-text items to include in the markup. * @return string The desired markup */ public static function generate_list( $items ) { $markup = '