Change default login auth
You can hook into this filter – https://developer.wordpress.org/reference/hooks/check_password/ – and validate if the user submitted password is the same as the user’s custom code field value return true. Example: add_filter( ‘check_password’, function( $check, $password, $hash, $user_id ) { // Run additional checks if current check is false if ( ! $check ) { // Check … Read more