Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-wp-network.php | apply_filters | 380 | /** * 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. The function default of null only makes sense when you * know the requested path should match a network. * @param string $domain The requested domain. * @param string $path The requested path, in full. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int|null | $segments | The number of path segments to consider. WordPress by default looks at |
string | $domain | The requested domain. |
string | $path | The requested path, in full. |