wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



network_by_path_segments_count › Les Filtres WordPress

Depuis3.9.0
Dépréciéen/a
apply_filters( 'network_by_path_segments_count', $segments, $domain, $path )
Paramètres: (3)
  • (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.
    Requis: Oui
  • (string) $domain The requested domain.
    Requis: Oui
  • (string) $path The requested path, in full.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the number of path segments to consider when searching for a site.





Source

$segments = apply_filters( 'network_by_path_segments_count', $segments, $domain, $path );