wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



domain_exists › Filtr WordPress Hooks

Od3.5.0
Przestarzałyn/a
› apply_filters( 'domain_exists', $result, $domain, $path, $network_id )
Parametry: (4)
  • () result The site ID if the site name exists, null otherwise.
    Wymagane: Tak
  • () domain Domain to be checked.
    Wymagane: Tak
  • () path Path to be checked.
    Wymagane: Tak
  • () network_id Network ID. Only relevant on multi-network installations.
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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