Description
Filters the number of path segments to consider when searching for a site.
Occurrences
Filename | Line Number |
---|---|
wp-includes/ms-load.php | 177 |
Parameters
Type | Name | Description |
---|---|---|
int|null | $segments | 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 | $domain | The requested domain. |
string | $path | The requested path, in full. |
PHP Doc
/**
* Filters the number of path segments to consider when searching for a site.
*
* @since 3.9.0
*
* @param int|null $segments 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.
* @param string $domain The requested domain.
* @param string $path The requested path, in full.
*/