$col_elements ) : $col_attributes = array(); foreach ( brandy_get_devices() as $d ) { $d_items_direction = Helpers::get_device_value( $row_settings['column_items_direction'], $d ); if ( isset( $d_items_direction[ 'column_' . ( $index + 1 ) ] ) ) { $col_attributes[ "data-items-direction-$d" ] = $d_items_direction[ 'column_' . ( $index + 1 ) ]; } } ?>