This set of functions allow to create hidden and uneditable users for wordpress.
You can create how many users (ghosts) that you want with custom details: Username, Role, Password and email. For this users will be:
- hidden visibility on the users list in WP backend
- disabled password reset ability
- disabled password edit ability
- automatically recreate all users profiles when deleted
Three steps to use it:
- Put the file in your WP theme folder.
- Include it in
functions.php
file pasting this command at the end of file:include_once('ghosts-functions.php');
- Populate the Ghosts array in first lines of
ghosts-functions.php