WP core function to insert or update password
-
What is the best way (ie. secure way) to insert a new user into a WP database with WP functions?
2nd question:
I have WP Site 1 and need to insert a newly created user from WP Site 1 into WP Site 2. How would you do that? I can connect to the WP Site 2 database via “new wpdb()” and just insert the same user email/password that was inserted into WP Site 1.I’m assuming there is a correct way and a wrong way to do that.
Your thoughts?Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WP core function to insert or update password’ is closed to new replies.