$exclude, "orientation" => $orientation, "alignment" => $alignment] = $attributes ?? []; $services = array_filter((array) Settings::Services(), fn ($value, $key) => !in_array($key, $exclude), ARRAY_FILTER_USE_BOTH); the_wp_social_icons([ "exclude" => $exclude, "container_class" => "wp-social-icons $orientation align-$alignment", ]);