开发者

How to use WordPress' Lost_Password functions outside of the website?

开发者 https://www.devze.com 2023-02-21 15:48 出处:网络
I basically need to make an API for WordPress that allows simple user edits and such. I\'ve created an API for registering, creating users, retrieving categories, etc...

I basically need to make an API for WordPress that allows simple user edits and such. I've created an API for registering, creating users, retrieving categories, etc...

How can I use WordPress' internal scripts so I can pass it an email ad开发者_StackOverflowdress or username and it will automatically email the user?


// I assume your script is running on the website root folder
include_once("wp-load.php");

// you script start here..
0

精彩评论

暂无评论...
验证码 换一张
取 消