wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



domain_exists › WordPress Filter Hooks

Seit3.5.0
Veraltetn/v
apply_filters( 'domain_exists', $result, $domain, $path, $network_id )
Parameter: (4)
  • () result The site ID if the site name exists, null otherwise.
    Erforderlich: Ja
  • () domain Domain to be checked.
    Erforderlich: Ja
  • () path Path to be checked.
    Erforderlich: Ja
  • () network_id Network ID. Only relevant on multi-network installations.
    Erforderlich: Ja
Definiert in:
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.




Quellcode

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