wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



domain_exists › WordPress Filter Hooks

Da3.5.0
Deprecaton/a
apply_filters( 'domain_exists', $result, $domain, $path, $network_id )
Parametri: (4)
  • (int|null) $result The site ID if the site name exists, null otherwise.
    Richiesto:
  • (string) $domain Domain to be checked.
    Richiesto:
  • (string) $path Path to be checked.
    Richiesto:
  • (int) $network_id Network ID. Only relevant on multi-network installations.
    Richiesto:
Definito a:
Codex:

Filters whether a site name is taken.

The name is the site's subdomain or the site's subdirectory path depending on the network settings.





Sorgenti

return apply_filters( 'domain_exists', $result, $domain, $path, $network_id );