pre_get_network_by_path, null, $domain, $path, $segments, $paths
pre_get_network_by_path, null, $domain, $path, $segments, $paths
Appears in: 7.0.3
Hook Type: filter
Displaying hooks found in version: 7.0.3apply_filters('pre_get_network_by_path, null, $domain, $path, $segments, $paths') is found 1 times:
- /wp-includes/class-wp-network.php line 417
* @param int|null $segments The suggested number of paths to consult. * Default null, meaning the entire path was to be consulted. * @param string[] $paths Array of paths to search for, based on `$path` and `$segments`. */ $pre = apply_filters( 'pre_get_network_by_path', null, $domain, $path, $segments, $paths ); if ( null !== $pre ) { return $pre; } if ( ! $using_paths ) { $networks = get_networks(