network_by_path_segments_count, $segments, $domain, $path
network_by_path_segments_count, $segments, $domain, $path
Appears in: 7.0.3
Hook Type: filter
Displaying hooks found in version: 7.0.3apply_filters('network_by_path_segments_count, $segments, $domain, $path') is found 1 times:
- /wp-includes/class-wp-network.php line 383
* know the requested path should match a network. * @param string $domain The requested domain. * @param string $path The requested path, in full. */ $segments = apply_filters( 'network_by_path_segments_count', $segments, $domain, $path ); if ( ( null !== $segments ) && count( $path_segments ) > $segments ) { $path_segments = array_slice( $path_segments, 0, $segments ); } while ( count( $path_segments ) ) {