External Database Connection Question
-
I found the GitHub repository for this plugin. Awesome work and project, btw.
Can you confirm that all the database connections and access is in the db.php file? https://github.com/tbenyon/wordpress_external_login_plugin/blob/master/login/db.php
So, if I wanted to adapt this to another database or even a cloud database API service like DynamoDB, I would re-write parts of the db.php file.
I see there are if-then statements to specify either PostgreSQL or MySQL right now. I would probably just do an extra db type like “dynamo” and the select queries would be replaced by requesting the external API to get the user data that matches the WordPress user data.
The topic ‘External Database Connection Question’ is closed to new replies.