# Hide "Add Existing User" From Site Admins

> Removes the "Add Existing User" form on subsite Users > Add New for site admins, so they cannot pull people from other sites on the network.

- Type: PHP
- Runs: Admin only
- Category: [Multisite](https://wpide.com/library/category/multisite/)
- Tags: users, site-admins, privacy
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/ms-hide-add-existing-user/

## Code

```php
if ( ! is_multisite() ) {
    return;
}

add_filter( 'show_network_site_users_add_existing_form', function ( $show ) {
    return is_super_admin() ? $show : false;
} );
```

## Notes

Super admins still see the form.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Hide "Add Existing User" From Site Admins" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
