domain_exists

最后更新于:2021-11-26 08:16:20

apply_filters( ‘domain_exists’, int|null $result, string $domain, string $path, int $network_id )

Filters whether a site name is taken.

参数

$result

(int|null)
The site ID if the site name exists, null otherwise.

$domain

(string)
Domain to be checked.

$path

(string)
Path to be checked.

$network_id

(int)
Network ID. Relevant only on multi-network installations.

源文件

文件: gc-includes/ms-functions.php

View on Trac