$wpdb is a global variable for the database class. In it $wpdb->users
points to the name of the users table. As long as it’s the same database, you can use this to change the name of the table but it might create errors if the schema doesn’t match.
Another way is to extend the wpdb
class, modify it according to your needs, then replace the global $wpdb
variable with an instance of your extended class.
Other way is to go through the core & hook into every user-related function in there.
I think it’s best to let wordpress work on it’s own
Related Posts:
- How to programatically change username (user_login)?
- How to restrict access to uploaded files?
- Allowing users to edit only their page and nobody else’s
- Disallowing Users of a Custom Role from Deleting or Adding Administrators?
- Hide Admin Menu for Specific User ID who has administrator Role
- Allowing an email as the username?
- Check if specific username is logged in
- Post list based on the user that is logged in
- Basic auth WordPress REST API dilemma
- Copy a user from one WordPress site to another
- Front end user meta options for users
- How to customize wp_signon()
- How to get the Role Name of the current user? (WordPress)
- Can I create users that have access to *some* other users posts instead of all other users posts?
- Set default page for user account in admin
- Share user table from WP with Drupal
- Log all users out of all locations after 24 hours
- Hide everything on site for visitors except specific page IDs
- Managing Users and Creating Groups [closed]
- show text If special user is logged
- Multiple Backend Users as single Frontend User
- Upgrade Nightmare – No Posts, Permissions Issues and Can’t Create a new post
- How to disable a specific page for a specific user
- How to export bbPress (forums, topics, replies) and all users?
- Allow user access to Dashboard only!
- Restrict access of admin uploads to certain logged-in users?
- wordpress user roles are not working
- Displaying different in-page content to cliente/admin
- Problem with automatic role change through cron job
- Reset Password policy
- How can I allow an User to publish only 5 posts per month?
- Where are $current_user->allcaps set?
- How do you manage your pages or functions that require logged-in users?
- Allow admins to login as other users
- Can I Create a Second Admin Level User Role?
- Delete a user from frontend
- Unique password to access a section site
- One Click Access To Users Account In WordPress?
- Assigning multiple or additional capabilities to specific users or how to create additional roles like bbpress roles?
- WordPress user role with create user capability?
- Update user role for expired membership
- How to use url formatter with integer
- Custom User Role: Can Edit Own Page, Cannot Create New
- WordPress install checking permissions of user id 0
- throttle/limit a logged in user’s http requests to specific page on a per day basis
- Allowing users to edit only their page and nobody else’s
- How to bulk change user role to “No role for this site”
- Restrict Access to the User Profile
- post acces for guests / unregistered users only
- Username has been exposed
- view and update form only for registered users
- Control Category of each user can post
- Limit user access to installing/configuring a plugin?
- determine active user browser at the same time
- Cant edit profile from frontend
- MySQL query to list users who never signed in
- Wordpres password as plain text in email
- WordPress password as plain text in email
- alphabetically order role drop-down selection in dashboard
- WordPress auto login after registration not working
- Change the author slug from nickname to ID
- Retrieve all users from wordpress database via REST/JSON API
- Is there a way to set a user profile to Draft?
- How to use hyperdb to separate and share a user dataset between wordpress installs?
- \WP_User Object | What’s the Difference Between {caps} and {allcaps}?
- pre_user_query meta_query admin user list
- Any reason to be concerned by a wave of “zombie” blog signups?
- Return ID of authors who have at least one post
- Find out when a user was created and display varied content depending on time since creation
- Creating a Front-end based User Search
- How to add user meta for all users
- How can I allow users to sign up but prevent them from accessing the WordPress backend?
- Get User Role by ID not working
- Add user data to table when user is created?
- Remove admin menu links for multiple users by email
- How to create user groups and allow custom posts and plugin modify/access to specific group?
- C# user_nicename and Display name blank
- How to filter users by last_name?
- WP users page doesn’t show users count by role
- Failed login attempts
- Custom Query for count_user_posts function
- Does wordpress support natively the concept of logging-in users? (not admins, but users of the website)
- How to pull all the contributer users records and order by Designation (which is users meta data)?
- cannot get user_registered date from get_user_meta
- How to hide user profile fields based on the role of the viewed user?
- user_meta table in staging vs live site
- Privilege to recover trashed posts
- How to use `wp_insert_user` & `wp_insert_post` simultaneously without `headers already sent` error?
- Need to exclude users with no posts from my contributors page
- define two login page url
- How can i add user display name drop down menu in frontend?
- wp_update_user() returning http 500 internal server error
- Insert user register into my own user table instead of wp own user
- Manage user profiles with WordPress
- Limit roles displayed in users.php depending on custom role
- Fetching posts that match a User Profile setting
- Will mass deleting WP Users then reimporting CSV with the same userid break WP?
- Shopping plugin with user groups [closed]
- how can i inform other users about new user registration? [closed]
- get Discussion setting in wordpress