WordPress.org

Ready to get started?Download WordPress

Codex

WPMU Functions/get admin users for domain

Contents

Description

Looks up all the admin users for a domain and returns them as an array.

Parameters

$sitedomain
(string) (optional) The site domain to look up.
Default: [blank string]
$path
(string) ( ) The path to look up.
Default: optional

Return Values

(mixed) 
Returns either (boolean) false or an array of users who have admin access for the specified domain.

Usage

<?php get_admin_users_for_domain($sitedomain$path); ?>

Notes

In the Spanish version of this article the user notes that this function only seems to work with the main blog.