PHPackages                             thomaslhotta/wp-separate-user-base - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. thomaslhotta/wp-separate-user-base

ActiveWordpress-muplugin

thomaslhotta/wp-separate-user-base
==================================

1.1(2y ago)01.3k[5 PRs](https://github.com/thomaslhotta/wp-separate-user-base/pulls)MITPHPPHP &gt;=8.0

Since Oct 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/thomaslhotta/wp-separate-user-base)[ Packagist](https://packagist.org/packages/thomaslhotta/wp-separate-user-base)[ RSS](/packages/thomaslhotta-wp-separate-user-base/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (21)Used By (0)

WP Separate User Base Plugin
============================

[](#wp-separate-user-base-plugin)

Master BranchDevelop BranchAll Branches[![Unit tests](https://github.com/thomaslhotta/wp-separate-user-base/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/thomaslhotta/wp-separate-user-base/actions/workflows/tests.yml/badge.svg?branch=master)[![Unit tests](https://github.com/thomaslhotta/wp-separate-user-base/actions/workflows/tests.yml/badge.svg?branch=develop)](https://github.com/thomaslhotta/wp-separate-user-base/actions/workflows/tests.yml/badge.svg?branch=develop)[![Unit tests](https://github.com/thomaslhotta/wp-separate-user-base/actions/workflows/tests.yml/badge.svg)](https://github.com/thomaslhotta/wp-separate-user-base/actions/workflows/tests.yml/badge.svg)The WP Separate User Base plugin enhances WordPress Multisite installations by enabling each site within the network to maintain its own distinct user base. This flexibility allows for the creation of multiple user accounts with the same email address, while ensuring that these accounts are restricted to specific sites or the entire network as defined by the admin. This plugin is a powerful tool for administrators looking to customize their user management on a more granular level.

Features
--------

[](#features)

- **Flexible User Bases:** Users can be restricted to individual sites, the entire network, or a combination of both. Additional separation criteria can be implemented via filters.
- **Allows users to sign up to multiple sites with the same email address:** Allows the creation of multiple user i accounts using the same email address, while ensuring that within the defined separation criteria, email addresses appear unique to WordPress and most plugins.

How It Works
------------

[](#how-it-works)

- The plugin removes the global enforcement of unique `user_email` fields across the entire WordPress installation.
- Users are assigned meta user keys that specify the sites and networks they are associated with. This is used to inject meta queries into all uses of `WP_User_Query` to filter user queries, ensuring users only appear where they are supposed to.
- This plugin Overrides the `get_user_by` function to account for the assigned sites and networks, as it does not utilize `WP_User_Query`.
- Users are automatically associated with the site or network where they are created, based on the `wp_sub_add_users_to_network` network option.

Intended Audience
-----------------

[](#intended-audience)

This plugin is designed for advanced WordPress users and administrators familiar with WordPress Multisite environments and who require custom user management solutions.

Limitations
-----------

[](#limitations)

- No frontend interface is provided for users to sign up for multiple sites.
- Users can still be retrieved by ID or `user_login` through methods that do not utilize `WP_User_Query` or `get_user_by`, potentially bypassing restrictions.
- Usernames must remain unique across the network.

Installation
------------

[](#installation)

1. Download the plugin from the GitHub repository.
2. Upload the plugin files to your WordPress installation's `wp-content/plugins` or `wp-content/mu-plugins` directory.
3. Activate the plugin through the 'Plugins' screen in WordPress.

Usage
-----

[](#usage)

This plugin offers extensions to the admin interface and WP-CLI commands for managing user availability across sites and networks. .

Contributing
------------

[](#contributing)

Contributions to the WP Separate User Base plugin are welcome.

Support
-------

[](#support)

For support, please open an issue on the GitHub repository. Please note that this plugin is provided "as is" without warranty of any kind, either expressed or implied.

License
-------

[](#license)

The WP Separate User Base plugin is open-source software licensed under the MIT license.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~124 days

Recently: every ~51 days

Total

14

Last Release

774d ago

Major Versions

0.8.1 → 1.02024-02-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/c8accbef64ae4e1b2171236bcd04b9c7001881d4148280991ed16558dbc84f10?d=identicon)[thomaslhotta](/maintainers/thomaslhotta)

---

Top Contributors

[![thomaslhotta](https://avatars.githubusercontent.com/u/941678?v=4)](https://github.com/thomaslhotta "thomaslhotta (120 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/thomaslhotta-wp-separate-user-base/health.svg)

```
[![Health](https://phpackages.com/badges/thomaslhotta-wp-separate-user-base/health.svg)](https://phpackages.com/packages/thomaslhotta-wp-separate-user-base)
```

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[johnbillion/user-switching

Instant switching between user accounts in WordPress and WooCommerce.

19768.3k2](/packages/johnbillion-user-switching)[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
