Filters the number of path segments to consider when searching for a site.
$segmentsint|null
$domainstring
$pathstring
$segments = apply_filters( 'site_by_path_segments_count', $segments, $domain, $path );
| Version | Description |
|---|---|
| 3.9.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/site_by_path_segments_count