You can override the core wp_authenticate function.
You would need to create a custom plugin and declare a new version of wp_authenticate. The function accepts a username and a password and returns a WP $user object.
wp_authenticate is a ‘pluggable’ function and it is found in the wp-includes/pluggable.php file.
Related Posts:
- Finding the login page from database?
- How do I get WordPress login to ignore the password input if a particular username is used?
- Why is it that not all users have a ‘session_tokens’ meta_key record in the usermeta table?
- Two websites one database, administrator not working on second website
- Finding the original login information in the database
- Database Table for customer user
- Permit Login if table row exists
- Auto login subdomain from main domain on single sites with different DB
- Logins from WP users table use on another page
- Is it possible to rebuild the website while not accesseing the original database?
- Recovering the table wp_usermeta from users
- Unable to login to a https website via the app after changing from http
- How to protect my credentials on my clients website
- Example of a strong and weak entity types
- The MySQL alternatives: Do Percona Server and MariaDB work well with WordPress, and do they make WordPress go better?
- MariaDB as a backend database
- WordPress database error with latest WP – “WP_termmeta doesn’t exist”
- WordPress Connection Pooling
- WordPress database error: [Query was empty] [closed]
- How to get site URL if database is disconnected?
- Showing content from another wordpress installation database in the page template loop?
- Multiple WP install with same users database
- Dynamic data in `wp_register_script` needed
- Why is $wpdb->get_results failing on certain tables but not others (which have data)?
- How to correctly add a table to the WordPress MySQL database
- How to verify password outside WordPress?
- Weird issue with database migration and SSL links
- Is it safe to convert tables from MyISAM to InnoDB?
- How to use a different database to list and manage comments in the backend
- How do I properly update the WordPress database password?
- wpdb_prepare with multiple or condition
- $wpdb->insert is not working
- WordPress Install and Database on separate hosting?
- Moving a site from a temporary domain to the live domain [duplicate]
- Error establishing a database connection on Installation
- What is this in my tables
- WP get stuck with a query on MySQL when the site is resumed
- Use mulitple usernames?
- Routine to convert custom post meta from old to new value
- Trying to change database tables storage engine to innodb gives error “invalid default value for ‘post_date'”
- database connection [closed]
- sanitize POST arrays
- WP character encoding error after sharing post on Facebook �
- Able to use all admin pages but in the frontend there is a “Error establishing a database connection”-Error
- WordPress query is not returning proper results
- charset problem with new custom table
- Plugin Development for registered users
- Undefined Variable: mysqli error when connecting to database
- Localhost to Staging to Development Dynamic WP-CONFIG
- Call to undefined function get_user_meta() – trying to access data in MySQL from custom fields
- Connection refused on locahost after importing database?
- When to use custom DB tables or add_option?
- Have working sql query… trying to adjust it to use $wpdb
- Best host for running large mem and processor intensive WordPress sites?
- creating new field on mysql
- Does WordPress store the username as a primary key in the database?
- Strange characters added to the database
- Database Update Required – Update from command-line
- After database migration, theme mods don’t show [closed]
- SQL query to set posts in bulk based on the post content
- Automate WordPress website setup with prefilled data
- Custom search query by category id
- Website displays old version of page
- Image link issues after importing a database backup to my local web server
- multiple wordpress installs w/shared user database but separate content databases
- Updating seperate database when post attachment is changed
- add featured image dialog box disappear
- Displaying table data on a page
- WordPress Database – wp_usermeta and the correct number of session_tokens rows
- How to get a list of articles related to a particular category from my other WordPress website?
- /wp-admin not accessible after migrating to local host (no plugin issue)
- set_transient fails if the value has more than 60.000 characters
- A WP dev site that displays content from a live site’s database but cannot write to wp_posts?
- error establishing database connection (WAMP + filezilla)
- Is there a way for two deferent themes to consume two different DB on a same WP instance?
- Set SQL_BIG_SELECTS and MAX_JOIN_SIZE on a WP_Query
- How to optimize wp_option table?
- How do I update a WordPress wp_postmeta meta_value that contains many options
- How can I get $wpdb to show MySQL warnings?
- About wp database hooks (error establishing connection)
- WordPress automatic Login on other page?
- Database for JQuery Autocomplete field
- How to extract some part of WordPress full source code
- Create Tables in WordPress
- Error establishing a database connection for some files
- Hash user emails in database?
- WordPress Failed to Login (DB Error)
- Share WordPress Database
- DB access blocked when initializing WP externally
- Saving data to database and exporting to excel
- Site does not work right, pages not showing up, even for root admin
- ERROR: “Table Prefix” must not be empty
- How do you build a database-centric site in WP?
- WordPress: Interact with Database Query Data and Login
- Attach posts based on category and position
- Getting an error when trying to migrate to DV server from Grid with Media Temple [closed]
- What’s the cleanest way to transfer WordPress to a new server
- Display custom data based on URL slug
- How to disable publish_future_post auto add wp_options cron
- I have uploaded thousands of files in the uploads folder via FTP and I want to register them into the database without any plugin