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. [Utility &amp; Helpers](/categories/utility)
4. /
5. thomaslhotta/wp-separate-user-base

ActiveWordpress-muplugin[Utility &amp; Helpers](/categories/utility)

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 today

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 69% 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

820d 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

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3376.6k](/packages/starcitizentools-citizen-skin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19251.4k3](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5721.7k4](/packages/pfefferle-wordpress-activitypub)

PHPackages © 2026

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