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
- What is the difference between an ORM and an ODM?
- How should I tackle –secure-file-priv in MySQL?
- Checking if Database Table exists
- How To Export/Import WordPress (MySQL) Database Properly Via Command-Line?
- Is it possible to define two databases for one installation?
- Has parent field in the table wp_term_taxonomy has term_id or term_taxonomy_id
- Hook into $wpdb
- Syncing local content with development / staging sites
- Export WP database for import using WP-CLI on Vagrant Box
- Corrupt WordPress Database
- Have multiple local wordpress installs share a wp-content folder and database
- Connecting to external oracle database
- Bulk Update of Custom Post Type Post Status through SQL
- How do I add indexes to WordPress Database?
- Faulty restore of the database, encoding issue
- Huge wp_options table
- Updating all rows of table with $wpdb
- Is $wpdb->prepare escaping to much? How to use it properly?
- What is the purpose of storing `siteurl` in database?
- How to log database changes during an upgrade?
- Using same database for main and subdomain
- Emojis getting converted to “?”
- Building a Scalable Resiliant WP Setup
- Single database for multiple instances
- Search and replace special characters (å,ä,ö) for image attachments only in database
- Automate dir and DB stack creation with WP-CLI
- Moving WP from local server to live, error establishing a db connection
- WordPress and MySQL: how to transfer Meta_key and Meta_Value from one post_id to another
- Where does the actual data stored by add_post_meta
- Exporting table to csv works in the admin but exports HTML data when used on the front end
- wp search-replace (not executing)
- Import users from old WP site to new one
- Create table from array with prepare
- Migrate database between 2 different wordpress version
- Get User Login Data (date, time… )
- SSO system between 2 WordPress installs on different servers
- Form that sends data to an admin panel and can export it
- is $wpdb->get_results() safe enough
- Convert user passwords to MD5?
- is wordpress stores Role Id in WP database?
- Why do database examples sometimes finish with an add_option call?
- Does post_meta data need to be unserialzed?
- Can’t update WordFence Options, clear data manually
- How to backup my site and restore my wordpress site
- Is it possible to have more than 1 MySQL database in my WordPress blog?
- How to fetch records from database WordPress
- AJAX wp-mysql running too slow
- Delete/Replace words from X to Y in post content
- How get Data form wordpress database as array not stdclass?
- cannot connect database
- Multiple WordPress sites installs sharing the same database but with different content and domains
- Brandoo WordPress Unable to Update to WordPress 4.2.2
- Connecting to wordpress database in my application [closed]
- Remote database -> massive response time increase?
- Custom Post Type not showing anything added by code anymore?
- How do I have a user upload a blog post and then retrieve that to display in a card on the site?
- Delete user with only subscriber role
- WordPress keeps redirecting to localhost
- get value from ‘terms’ table
- How to rename custom table name programatically in wordpress?
- How to edit custom table data in frontend
- pre_get_posts causings DB error when using ( ‘posts_per_page’, -1)?
- generate PDF from member information
- mysqli_query(): MySQL server has gone away for Curl Request
- Help posting values to DB on submit using $wpdb->query
- wp-login.php?redirect_to=https problem
- WP website showing blank page after moving from subdomain to main domain
- create a table using user meta custom data
- wpdb query to insert images in to post/page gallery
- Creating a database in my plugin not working
- How to create index (sql) to a meta_key?
- WPCLI search and replace in a particlar site dir effect another site-dir
- get_user_meta and umeta_id
- $wpdb not working
- Send data to database after redirect (and popping out of iframe)
- Simple email input store in database
- Pulling values from a sepcific row in table
- import (migration) user database to wp-users
- What is best for saving lot of extra detail of user?
- Insert Extra fields added in the front end registration form to DB
- $wpdb->insert not working for last select option
- How to create a table [closed]
- Upload wordpress from localhost to 000webhost
- wp-config was suddenly updated
- Weird WP -Cli Error Connection Refused
- Order of search results based off of a backend custom field and also in alpha order
- How to find fresh (last modified) and sql backup?