0
votes

Wordpress user data (email, password , ...) stores in wp_users table.

I want to create a new table in my wordpress database and insert users email and password in my new table.

How can I do that?

1
To be used instead of wp_users? why? - RRikesh
@RRikesh I want to have my users data in another table. because I want to create a php forum on subdomain and use wordpress users data to login into my php forum - Mehdi Khosravi
I believe you're attempting to find the wrong solution to your problem. - RRikesh

1 Answers

0
votes

this is the wrong solution and you will have issues with WordPress database updates in future. I think you can make rest API for authenticating forum users from main Wordpress site.