prefix . 'adfoin_integration'; $integration_options = $wpdb->get_results( "SELECT id, title FROM {$integration_table} ORDER BY title ASC", ARRAY_A ); // Fix #4: clamp the visible list height so the card doesn't balloon on large sites. $select_size = min( 8, max( 4, count( $integration_options ) + 1 ) ); ?>