Function: get_admin_users_for_domain

get_admin_users_for_domain( string $domain, string $path )

Get the admin for a domain/path combination.

Parameters

Name Type(s) Default Value Description
$domain string ''

Optional. Network domain.

$path string ''

Optional. Network path.

Returns

array | false

The network admins.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.