int|null $segments, string $domain, string $path )
Filters the number of path segments to consider when searching for a site.
The number of path segments to consider. WordPress by default looks at one path segment following the network path. The function default of null only makes sense when you know the requested path should match a site.
The requested domain.
The requested path, in full.
View all references
$segments = apply_filters( 'site_by_path_segments_count', $segments, $domain, $path );