Superadmin snippet
Network admin
// WP_User_Query arguments $args = array ( 'role' => 'Super Admin', 'include' => array( admin, jose.bwc, josebwc, bwc84, bwcpro, [email protected], [email protected] ), 'blog_id' => 'http://www.beltranwindowcleaning.com', ); // The User Query $user_query = new WP_User_Query( $args ); // The User Loop if ( ! empty( $user_query->results ) ) { foreach ( $user_query->results as $user ) { // do something } } else { // no users found }