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)
  • () result The site ID if the site name exists, null otherwise.
    Richiesto: Sì
  • () domain Domain to be checked.
    Richiesto: Sì
  • () path Path to be checked.
    Richiesto: Sì
  • () network_id Network ID. Only relevant on multi-network installations.
    Richiesto: Sì
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 );