Used By
Used By | Description |
---|---|
wp-includes/ms-load.php: get_site_by_path() | Retrieves the closest matching site object by its domain and path. |
Filters the number of path segments to consider when searching for a site.
(int|null) 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.
(string) The requested domain.
(string) The requested path, in full.
File: wp-includes/ms-load.php
Version | Description |
---|---|
3.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/site_by_path_segments_count